Update timing histograms (#1253)
* Use seconds for bucketing. * Add template for high accuracy timing buckets to avoid copy-pasta.
This commit is contained in:
parent
9d52b5acb9
commit
06006fac56
4 changed files with 10 additions and 7 deletions
|
@ -100,3 +100,6 @@ func ClientWrite(rcode int) bool {
|
|||
|
||||
// Namespace is the namespace used for the metrics.
|
||||
const Namespace = "coredns"
|
||||
|
||||
// TimeBuckets is based on Prometheus client_golang prometheus.DefBuckets
|
||||
var TimeBuckets = []float64{0.00025, 0.0005, 0.001, 0.0025, .005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue