Skip to content

Add throughput to metrics - #266

Merged
NikhilSinha1 merged 2 commits into
mainfrom
nikhil/add-throughput-to-metrics
Jun 2, 2025
Merged

NikhilSinha1 merged 2 commits into
mainfrom
nikhil/add-throughput-to-metrics

Conversation

@NikhilSinha1

@NikhilSinha1 NikhilSinha1 commented May 31, 2025

Copy link
Copy Markdown
Contributor

Summary

Add throughput and error boolean to metrics

Comment thread pkg/pget.go Outdated
if downloadFailed {
data["error"] = true
} else {
data["throughput"] = throughput

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we use something like bytes_per_second to be clearer and consistent with existing graph & replicate/hf_transfer#1?

@NikhilSinha1
NikhilSinha1 merged commit 66cd72d into main Jun 2, 2025
@NikhilSinha1
NikhilSinha1 deleted the nikhil/add-throughput-to-metrics branch June 2, 2025 17: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.

2 participants