fix(exporter): correct bucket calculation time.Duration default
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
Tom Neuber 2025-01-10 15:42:28 +01:00
parent 8b7f45563a
commit be886b5cc8
Signed by: tom
GPG key ID: F17EFE4272D89FF6

View file

@ -78,7 +78,7 @@ func NewMetrics(e *Exporter) *Metrics {
Namespace: namespace,
Name: metricNameRequestLatency,
Help: "Latency statistics for requests",
Buckets: prometheus.ExponentialBuckets(10, 1.5, 30),
Buckets: prometheus.ExponentialBuckets(0.000001, 1.5, 40),
},
),
}