RUM-16653: Route androidNetworkInstrumentation through InternalLogger#logApiUsage#3516
Merged
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
…#logApiUsage The androidNetworkInstrumentation reporting was bypassing the logApiUsage API so it was being reporting at 100% event-level sampling. By moving it to go through the standard API, we will apply the standard 15% sampling to decrease the number of events generated
abrooksv
force-pushed
the
abrooks/decrease-network-usage-telemetry
branch
from
June 5, 2026 16:46
9d8e090 to
80f7acb
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3516 +/- ##
===========================================
- Coverage 72.19% 72.17% -0.03%
===========================================
Files 965 965
Lines 35602 35601 -1
Branches 5932 5932
===========================================
- Hits 25702 25692 -10
- Misses 8286 8292 +6
- Partials 1614 1617 +3
🚀 New features to boost your workflow:
|
0xnm
approved these changes
Jun 8, 2026
jonathanmos
approved these changes
Jun 8, 2026
hamorillo
approved these changes
Jun 8, 2026
satween
approved these changes
Jun 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
The androidNetworkInstrumentation reporting was bypassing the logApiUsage API so it was being reporting at 100% event-level sampling. By moving it to go through the standard API, we will apply the standard 15% event sampling to decrease the number of events generated (decreasing effective_sampling_rate from 20% to 3%)
Motivation
Cost savings, see attached ticket for details
Review checklist (to be filled by reviewers)