Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve telemetry from RecordedDataQueueHandler #2053

Merged
merged 1 commit into from
May 27, 2024

Conversation

xgouchet
Copy link
Member

What does this PR do?

Add more details in the telemetry for it to be actionnable

@xgouchet xgouchet requested review from a team as code owners May 24, 2024 14:57
@xgouchet xgouchet force-pushed the xgouchet/record_queue_telemetry branch from 7b4f205 to 5432c3a Compare May 24, 2024 14:58

private fun isTooOld(currentTime: Long, recordedDataQueueItem: RecordedDataQueueItem): Boolean =
(currentTime - recordedDataQueueItem.recordedQueuedItemContext.timestamp) > MAX_DELAY_MS
private fun isTooOld(currentTime: Long, recordedDataQueueItem: RecordedDataQueueItem): Boolean {
Copy link
Member

Choose a reason for hiding this comment

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

seems it is not used anymore?

@xgouchet xgouchet force-pushed the xgouchet/record_queue_telemetry branch from 5432c3a to d8e62f3 Compare May 27, 2024 06:25
@codecov-commenter
Copy link

codecov-commenter commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.25%. Comparing base (de8989f) to head (d8e62f3).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2053      +/-   ##
===========================================
+ Coverage    83.18%   83.25%   +0.07%     
===========================================
  Files          494      494              
  Lines        17734    17739       +5     
  Branches      2685     2685              
===========================================
+ Hits         14752    14768      +16     
+ Misses        2243     2238       -5     
+ Partials       739      733       -6     
Files Coverage Δ
...nreplay/internal/async/RecordedDataQueueHandler.kt 98.13% <100.00%> (+0.11%) ⬆️
...sionreplay/internal/async/RecordedDataQueueItem.kt 100.00% <ø> (ø)

... and 21 files with indirect coverage changes

@xgouchet xgouchet merged commit b844675 into develop May 27, 2024
20 checks passed
@xgouchet xgouchet deleted the xgouchet/record_queue_telemetry branch May 27, 2024 08:01
@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