RUM-8450: Add metrics for internal benchmarking#2581
Merged
Conversation
jonathanmos
force-pushed
the
jmoskovich/rum-8450/benchmark-metrics
branch
from
April 3, 2025 12:10
b4d090f to
9208d89
Compare
jonathanmos
marked this pull request as ready for review
April 7, 2025 07:14
ambushwork
reviewed
Apr 7, 2025
0xnm
reviewed
Apr 7, 2025
0xnm
left a comment
Member
There was a problem hiding this comment.
overall looks good, I've added few questions
ambushwork
reviewed
Apr 8, 2025
jonathanmos
force-pushed
the
jmoskovich/rum-8450/benchmark-metrics
branch
from
April 9, 2025 13:26
a7e3c1f to
27265c1
Compare
0xnm
previously approved these changes
Apr 10, 2025
ambushwork
previously approved these changes
Apr 10, 2025
jonathanmos
force-pushed
the
jmoskovich/rum-8450/benchmark-metrics
branch
from
April 10, 2025 11:20
91ae133 to
e38dee6
Compare
0xnm
approved these changes
Apr 10, 2025
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?
Adds metrics to benchmarking to align with ios.
The metrics that are being added (all metrics sampled every 10 seconds and collected per track):
• bytes_written - number of bytes written whenever a batch is written to disk.
• bytes_uploaded - number of bytes uploaded when a batch is sent.
• bytes_deleted - number of bytes deleted when a batch is removed.
• batch_count - number of batch files in the directory.
• upload_count - number of uploads - this is actual uploads, not upload triggers.
• response_latency - time for upload network requests to execute.
Motivation
Align metrics with ios as part of the effort to improve upload reliability.
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)