Skip to content

Commit 123250d

Browse files
authored
use better buckets (#273)
1 parent 13ff0af commit 123250d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/ct/handlers.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@ func setupMetrics() {
8989
metric.WithDescription("CT HTTP responses"),
9090
metric.WithUnit("{response}")))
9191

92+
// TODO(phboneff): switch back to s, in Tessera as well.
9293
reqDuration = mustCreate(meter.Float64Histogram("tesseract.http.request.duration",
9394
metric.WithDescription("CT HTTP response duration"),
94-
metric.WithUnit("s")))
95+
metric.WithUnit("ms"),
96+
metric.WithExplicitBucketBoundaries(otel.LatencyHistogramBuckets...)))
9597
}
9698

9799
// entrypoints is a list of entrypoint names as exposed in statistics/logging.

0 commit comments

Comments
 (0)