Skip to content

RUM-4879: Granular telemetry sampling for mappers#2087

Merged
jonathanmos merged 2 commits into
developfrom
jmoskovich/rum-4879/fix-map-with
Jun 20, 2024
Merged

RUM-4879: Granular telemetry sampling for mappers#2087
jonathanmos merged 2 commits into
developfrom
jmoskovich/rum-4879/fix-map-with

Conversation

@jonathanmos

@jonathanmos jonathanmos commented Jun 17, 2024

Copy link
Copy Markdown
Member

What does this PR do?

Have more granular telemetry sampling for mappers, using three levels - default, reduced and rare, with each level reducing the number of events by a factor of 10.

Motivation

At the moment the default sampling rate is producing far too many events for some mappers.

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-4879/fix-map-with branch 2 times, most recently from ad2ec98 to 2cb01af Compare June 17, 2024 16:06
@codecov-commenter

codecov-commenter commented Jun 17, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 76.92308% with 3 lines in your changes missing coverage. Please review.

Project coverage is 68.97%. Comparing base (61e5b99) to head (2cb01af).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2087      +/-   ##
===========================================
+ Coverage    68.88%   68.97%   +0.09%     
===========================================
  Files          708      708              
  Lines        26302    26275      -27     
  Branches      4424     4424              
===========================================
+ Hits         18116    18121       +5     
+ Misses        6984     6942      -42     
- Partials      1202     1212      +10     
Files Coverage Δ
...ssionreplay/internal/recorder/TreeViewTraversal.kt 91.67% <76.92%> (-4.25%) ⬇️

... and 37 files with indirect coverage changes

@jonathanmos
jonathanmos marked this pull request as ready for review June 18, 2024 06:08
@jonathanmos
jonathanmos requested review from a team as code owners June 18, 2024 06:08
@jonathanmos
jonathanmos force-pushed the jmoskovich/rum-4879/fix-map-with branch from 2cb01af to aa5a093 Compare June 18, 2024 07:41
@xgouchet

Copy link
Copy Markdown
Contributor

Important

Shouldn't we target this to the latest release branch instead of develop, to publish an hotfix? Or are we planning a new release soon?

@jonathanmos
jonathanmos force-pushed the jmoskovich/rum-4879/fix-map-with branch from 005d23b to 2955529 Compare June 18, 2024 10:59
@jonathanmos
jonathanmos requested a review from xgouchet June 18, 2024 11:42
@jonathanmos
jonathanmos merged commit 3ee6a46 into develop Jun 20, 2024
@jonathanmos
jonathanmos deleted the jmoskovich/rum-4879/fix-map-with branch June 20, 2024 07:18
@xgouchet xgouchet added this to the 2.11.x milestone Jul 31, 2024
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