Skip to content

RUM-8879: Sample telemetry for RecordedDataQueueHandler#2600

Merged
jonathanmos merged 1 commit into
developfrom
jmoskovich/rum-8879/sampling-recordeddataqueue
Apr 15, 2025
Merged

RUM-8879: Sample telemetry for RecordedDataQueueHandler#2600
jonathanmos merged 1 commit into
developfrom
jmoskovich/rum-8879/sampling-recordeddataqueue

Conversation

@jonathanmos

Copy link
Copy Markdown
Member

What does this PR do?

Implement a 1% sampling rate on recordedDataQueueHandler telemetry messages

Motivation

Reduce the frequency of these messages

Additional Notes

Anything else we should know when reviewing?

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)

@jonathanmos
jonathanmos force-pushed the jmoskovich/rum-8879/sampling-recordeddataqueue branch from a580bcc to b575486 Compare April 14, 2025 11:13
@codecov-commenter

codecov-commenter commented Apr 14, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.

Project coverage is 70.15%. Comparing base (4f0e52f) to head (a0ac297).
Report is 184 commits behind head on develop.

Files with missing lines Patch % Lines
...nreplay/internal/async/RecordedDataQueueHandler.kt 89.47% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2600      +/-   ##
===========================================
- Coverage    70.18%   70.15%   -0.03%     
===========================================
  Files          812      812              
  Lines        30399    30404       +5     
  Branches      5086     5088       +2     
===========================================
- Hits         21335    21329       -6     
- Misses        7650     7654       +4     
- Partials      1414     1421       +7     
Files with missing lines Coverage Δ
...nreplay/internal/async/RecordedDataQueueHandler.kt 95.29% <89.47%> (-2.21%) ⬇️

... and 23 files with indirect coverage changes

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

@jonathanmos
jonathanmos marked this pull request as ready for review April 14, 2025 13:30
@jonathanmos
jonathanmos requested review from a team as code owners April 14, 2025 13:30
@jonathanmos
jonathanmos marked this pull request as draft April 14, 2025 13:31
@jonathanmos
jonathanmos force-pushed the jmoskovich/rum-8879/sampling-recordeddataqueue branch from b575486 to a0ac297 Compare April 14, 2025 13:37
@jonathanmos
jonathanmos marked this pull request as ready for review April 14, 2025 13:44
@jonathanmos
jonathanmos merged commit 9e372fd into develop Apr 15, 2025
@jonathanmos
jonathanmos deleted the jmoskovich/rum-8879/sampling-recordeddataqueue branch April 15, 2025 07:29
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.

4 participants