Skip to content

Commit 0710e9c

Browse files
committed
us ms buckets
1 parent 99aef44 commit 0710e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/otel/cast.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import "math"
1818

1919
var (
2020
// LatencyHistogramBuckets is a range of millisecond scale bucket boundaries which remain useful at around 1-2 seconds timescale in addition to smaller latencies.
21-
LatencyHistogramBuckets = []float64{0, 10, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1200, 1400, 1600, 1800, 2000, 2500, 3000, 4000, 5000, 6000, 8000, 10000}
21+
LatencyHistogramBuckets = []float64{0, 10e-3, 50e-3, 100e-3, 200e-3, 300e-3, 400e-3, 500e-3, 600e-3, 700e-3, 800e-3, 900e-3, 1000e-3, 1200e-3, 1400e-3, 1600e-3, 1800e-3, 2000e-3, 2500e-3, 3000e-3, 4000e-3, 5000e-3, 6000e-3, 8000e-3, 10000e-3}
2222
)
2323

2424
// Clamp64 casts a uint64 to an int64, clamping it at MaxInt64 if the value is above.

0 commit comments

Comments
 (0)