Skip to content

RUM-8041: Add telemetry for pending batch files#2548

Merged
jonathanmos merged 1 commit into
developfrom
jmoskovich/rum-8041/pending-batches
Mar 18, 2025
Merged

RUM-8041: Add telemetry for pending batch files#2548
jonathanmos merged 1 commit into
developfrom
jmoskovich/rum-8041/pending-batches

Conversation

@jonathanmos

Copy link
Copy Markdown
Member

What does this PR do?

Adds to batch deleted events the number of pending batch files in the directory at the time the metric was sent.

Motivation

Additional telemetry to increase transparency.

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-8041/pending-batches branch from 6dfcdbf to 504c1c0 Compare March 16, 2025 10:02
@codecov-commenter

codecov-commenter commented Mar 16, 2025

Copy link
Copy Markdown

Codecov Report

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

Project coverage is 70.03%. Comparing base (a1373c7) to head (a1c1e4c).
Report is 12 commits behind head on develop.

Files with missing lines Patch % Lines
...ence/file/advanced/ConsentAwareFileOrchestrator.kt 0.00% 1 Missing ⚠️
...al/persistence/file/batch/BatchFileOrchestrator.kt 90.91% 1 Missing ⚠️
.../persistence/file/single/SingleFileOrchestrator.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2548      +/-   ##
===========================================
- Coverage    70.06%   70.03%   -0.03%     
===========================================
  Files          797      797              
  Lines        30027    30038      +11     
  Branches      5027     5027              
===========================================
  Hits         21036    21036              
- Misses        7593     7600       +7     
- Partials      1398     1402       +4     
Files with missing lines Coverage Δ
...id/core/internal/metrics/BatchMetricsDispatcher.kt 96.00% <100.00%> (+0.05%) ⬆️
...d/core/internal/persistence/ConsentAwareStorage.kt 96.74% <100.00%> (+0.04%) ⬆️
...core/internal/persistence/file/FileOrchestrator.kt 100.00% <ø> (ø)
...ence/file/advanced/ConsentAwareFileOrchestrator.kt 93.75% <0.00%> (-3.02%) ⬇️
...al/persistence/file/batch/BatchFileOrchestrator.kt 93.71% <90.91%> (-0.37%) ⬇️
.../persistence/file/single/SingleFileOrchestrator.kt 75.00% <0.00%> (-5.00%) ⬇️

... and 34 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 March 17, 2025 09:38
@jonathanmos
jonathanmos requested review from a team as code owners March 17, 2025 09:38
ambushwork
ambushwork previously approved these changes Mar 17, 2025
0xnm
0xnm previously approved these changes Mar 18, 2025
@jonathanmos
jonathanmos dismissed stale reviews from 0xnm and ambushwork via a1c1e4c March 18, 2025 11:45
@jonathanmos
jonathanmos force-pushed the jmoskovich/rum-8041/pending-batches branch from 504c1c0 to a1c1e4c Compare March 18, 2025 11:45
@jonathanmos
jonathanmos merged commit 4c23077 into develop Mar 18, 2025
@jonathanmos
jonathanmos deleted the jmoskovich/rum-8041/pending-batches branch March 18, 2025 16:07
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