Skip to content

Commit

Permalink
chore: add custom bucket for throttling metric (#5461)
Browse files Browse the repository at this point in the history
* chore: add custom bucket for throttling metric

* addressed comments
  • Loading branch information
mihir20 authored Jan 29, 2025
1 parent 06e99fa commit e472c28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runner/buckets.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,9 @@ var (
float64(1 * bytesize.KB), float64(10 * bytesize.KB), float64(100 * bytesize.KB),
float64(1 * bytesize.MB), float64(3 * bytesize.MB), float64(5 * bytesize.MB), float64(10 * bytesize.MB),
},
"throttling": {
// 1ms, 5ms, 10ms, 25ms, 50ms, 100ms, 250ms, 500ms, 1s
0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1,
},
}
)

0 comments on commit e472c28

Please sign in to comment.