Skip to content

Android Advanced Configuration Edits#938

Merged
xgouchet merged 5 commits into
developfrom
xgouchet/resource_attr_provider
May 27, 2022
Merged

Android Advanced Configuration Edits#938
xgouchet merged 5 commits into
developfrom
xgouchet/resource_attr_provider

Conversation

@xgouchet

Copy link
Copy Markdown
Contributor

What does this PR do?

Provide a documentation with samples for the RumResourceAttributesProvider.

@xgouchet
xgouchet requested review from a team as code owners May 26, 2022 07:25
Comment thread docs/configure_rum_android_sdk.md Outdated
@codecov-commenter

codecov-commenter commented May 26, 2022

Copy link
Copy Markdown

Codecov Report

Merging #938 (6b88176) into develop (bb21099) will increase coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #938      +/-   ##
===========================================
+ Coverage    82.86%   82.92%   +0.07%     
===========================================
  Files          265      265              
  Lines         9035     9035              
  Branches      1458     1458              
===========================================
+ Hits          7486     7492       +6     
+ Misses        1145     1143       -2     
+ Partials       404      400       -4     
Impacted Files Coverage Δ
.../android/rum/internal/monitor/DatadogRumMonitor.kt 94.48% <0.00%> (-0.61%) ⬇️
...rc/main/java/com/datadog/opentracing/DDTracer.java 56.07% <0.00%> (+0.42%) ⬆️
...android/rum/internal/ndk/DatadogNdkCrashHandler.kt 86.21% <0.00%> (+1.72%) ⬆️
...ndroid/core/internal/persistence/file/EventMeta.kt 90.00% <0.00%> (+10.00%) ⬆️
...android/log/internal/logger/TelemetryLogHandler.kt 100.00% <0.00%> (+25.00%) ⬆️

@alai97 alai97 changed the title Document the RumResourceAttributesProvider Android Advanced Configuration Edits May 26, 2022

@alai97 alai97 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Will there be a doc update to iOS Advanced Configuration? We can port over these changes to that page too.

@xgouchet xgouchet added the size-small This PR is small sized label May 26, 2022
@alai97 alai97 mentioned this pull request May 26, 2022
6 tasks
@alai97 alai97 added the documentation Improvements or additions to documentation label May 26, 2022
Comment thread docs/configure_rum_android_sdk.md Outdated

for (String key : headers.names()) {
String attrName = "headers." + key.toLowerCase(Locale.US);
result.put(attrName, headers.values(key));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java snippet doesn't exactly match kotlin snippet: in Java we add all the values for the header name, in kotlin we add only a single value.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@xgouchet
xgouchet requested a review from 0xnm May 27, 2022 12:07
@xgouchet
xgouchet merged commit e5ddff4 into develop May 27, 2022
@xgouchet
xgouchet deleted the xgouchet/resource_attr_provider branch May 27, 2022 13:28
@xgouchet xgouchet added this to the 1.14.0 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size-small This PR is small sized size-tiny

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants