diff options
author | 2016-04-06 12:36:02 +0100 | |
---|---|---|
committer | 2016-04-06 12:36:02 +0100 | |
commit | be80bf518a74b05c5995b5c48f859469117b66a8 (patch) | |
tree | 58e6694b4ef3da2b959b94bfb981f370c9adcf66 /middleware | |
parent | ad9ddbbbd5b2fdffa622a9d2b5420127223b4e86 (diff) | |
download | coredns-be80bf518a74b05c5995b5c48f859469117b66a8.tar.gz coredns-be80bf518a74b05c5995b5c48f859469117b66a8.tar.zst coredns-be80bf518a74b05c5995b5c48f859469117b66a8.zip |
And make it compile
Diffstat (limited to 'middleware')
-rw-r--r-- | middleware/prometheus/metrics.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/prometheus/metrics.go b/middleware/prometheus/metrics.go index 644815223..db861be80 100644 --- a/middleware/prometheus/metrics.go +++ b/middleware/prometheus/metrics.go @@ -62,7 +62,7 @@ func define(subsystem string) { Namespace: namespace, Subsystem: subsystem, Name: "request_duration_seconds", - Buckets: append([]float64{0, 0001, 0.0005, 0.001, 0.0025}, DefBuckets...), + Buckets: append([]float64{0, 0001, 0.0005, 0.001, 0.0025}, prometheus.DefBuckets...), Help: "Histogram of the time (in seconds) each request took.", }, []string{"zone", "qtype"}) |