fix(exporter): correct bucket calculation time.Duration default
This commit is contained in:
parent
8b7f45563a
commit
be886b5cc8
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ func NewMetrics(e *Exporter) *Metrics {
|
||||||
Namespace: namespace,
|
Namespace: namespace,
|
||||||
Name: metricNameRequestLatency,
|
Name: metricNameRequestLatency,
|
||||||
Help: "Latency statistics for requests",
|
Help: "Latency statistics for requests",
|
||||||
Buckets: prometheus.ExponentialBuckets(10, 1.5, 30),
|
Buckets: prometheus.ExponentialBuckets(0.000001, 1.5, 40),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue