Skip to content

RUM-12636[Cronet]: Telemetry support#3210

Merged
satween merged 5 commits into
developfrom
tvaleev/feature/RUM-12636-telemetry
Mar 11, 2026
Merged

RUM-12636[Cronet]: Telemetry support#3210
satween merged 5 commits into
developfrom
tvaleev/feature/RUM-12636-telemetry

Conversation

@satween

@satween satween commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

  • Added a telemetry event for the Cronet integration. (OkHttp will be added in a separate PR.)
  • Moved DatadogSingletonTestConfiguration into the dd-sdk-android-core's fixtures and reused it across the entire project. This change
    was necessary to avoid duplicating DatadogSingletonTestConfiguration for dd-sdk-android-cronet.

Motivation

Measure the adoption rate of the Cronet library among users and compare it with OkHttp.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@satween
satween requested review from a team as code owners March 2, 2026 14:46

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 91862254a6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@satween
satween force-pushed the tvaleev/feature/RUM-12636-telemetry branch from 9186225 to b9f1de4 Compare March 2, 2026 15:16
@satween
satween requested a review from 0xnm March 2, 2026 15:17
@datadog-datadog-prod-us1-2

This comment has been minimized.

@codecov-commenter

codecov-commenter commented Mar 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.35%. Comparing base (d16f4b0) to head (cc4ac84).
⚠️ Report is 6 commits behind head on develop.

Files with missing lines Patch % Lines
...droid/internal/telemetry/InternalTelemetryEvent.kt 0.00% 5 Missing ⚠️
...roid/rum/internal/net/RumNetworkInstrumentation.kt 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3210      +/-   ##
===========================================
- Coverage    71.37%   71.35%   -0.02%     
===========================================
  Files          938      938              
  Lines        34667    34667              
  Branches      5874     5874              
===========================================
- Hits         24743    24735       -8     
- Misses        8278     8290      +12     
+ Partials      1646     1642       -4     
Files with missing lines Coverage Δ
...otlin/com/datadog/android/rum/_RumInternalProxy.kt 68.18% <100.00%> (ø)
...guration/RumNetworkInstrumentationConfiguration.kt 100.00% <100.00%> (ø)
.../rum/internal/monitor/AdvancedNetworkRumMonitor.kt 25.00% <ø> (ø)
.../android/rum/internal/monitor/DatadogRumMonitor.kt 88.47% <100.00%> (-0.19%) ⬇️
...ndroid/telemetry/internal/TelemetryEventHandler.kt 88.24% <100.00%> (+0.74%) ⬆️
.../datadog/android/cronet/CronetIntegrationPlugin.kt 94.55% <100.00%> (+0.43%) ⬆️
...dog/android/cronet/internal/DatadogCronetEngine.kt 81.82% <ø> (ø)
...roid/rum/internal/net/RumNetworkInstrumentation.kt 82.14% <83.33%> (+0.66%) ⬆️
...droid/internal/telemetry/InternalTelemetryEvent.kt 20.93% <0.00%> (-2.75%) ⬇️

... and 35 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@satween
satween force-pushed the tvaleev/feature/RUM-12636-telemetry branch from b9f1de4 to 9f84fce Compare March 2, 2026 17:45
@satween
satween requested a review from 0xnm March 2, 2026 17:48
0xnm
0xnm previously approved these changes Mar 2, 2026
@satween
satween force-pushed the tvaleev/feature/RUM-12636-telemetry branch 3 times, most recently from 099ec5a to 22fc9dd Compare March 6, 2026 13:43
0xnm
0xnm previously approved these changes Mar 10, 2026
@satween
satween force-pushed the tvaleev/feature/RUM-12636-telemetry branch from 22fc9dd to cc4ac84 Compare March 10, 2026 17:02
@satween
satween merged commit 8d4c1d3 into develop Mar 11, 2026
26 checks passed
@satween
satween deleted the tvaleev/feature/RUM-12636-telemetry branch March 11, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants