Skip to content

fix(agent): tune download throughput histogram buckets#602

Merged
Anton-Kalpakchiev merged 1 commit into
masterfrom
tune-throughput-histogram-buckets
Apr 22, 2026
Merged

fix(agent): tune download throughput histogram buckets#602
Anton-Kalpakchiev merged 1 commit into
masterfrom
tune-throughput-histogram-buckets

Conversation

@Anton-Kalpakchiev
Copy link
Copy Markdown
Collaborator

@Anton-Kalpakchiev Anton-Kalpakchiev commented Apr 22, 2026

kraken-agent's throughput histogram does not have enough granularity in the <1MB/s range. This means that for blobs in the <5MB size range the throughput metric is always the same, as it's hitting the bottom bucket (0-1MB/s). This PR fixes that by changing the distribution of granularity in the histogram's buckets.

  • Change bucket config for throughput metrics in agent (blob download throughput and metainfo download throughput)
  • Bump the version tag of those metrics
  • Change the 10GiB+ size tag value to 10GiBplus, as some metrics libraries/databases/ingestion pipelines cannot handle the + character.
  • Fix a typo in the 100MiB-1GB range by changing it to 1GiB from 1GB.

@Anton-Kalpakchiev Anton-Kalpakchiev merged commit 3609864 into master Apr 22, 2026
10 checks passed
@Anton-Kalpakchiev Anton-Kalpakchiev deleted the tune-throughput-histogram-buckets branch April 22, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants