diff options
author | 2016-04-06 11:34:24 +0000 | |
---|---|---|
committer | 2016-04-06 11:34:24 +0000 | |
commit | ad9ddbbbd5b2fdffa622a9d2b5420127223b4e86 (patch) | |
tree | cb6e77b131f3b55cdc2d30f868fd3e3387a4e5fc | |
parent | 68171c7a638a4087deac495b39ca7f539ed93673 (diff) | |
download | coredns-ad9ddbbbd5b2fdffa622a9d2b5420127223b4e86.tar.gz coredns-ad9ddbbbd5b2fdffa622a9d2b5420127223b4e86.tar.zst coredns-ad9ddbbbd5b2fdffa622a9d2b5420127223b4e86.zip |
smaller time buckets
-rw-r--r-- | middleware/prometheus/metrics.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/middleware/prometheus/metrics.go b/middleware/prometheus/metrics.go index b47d06ff8..644815223 100644 --- a/middleware/prometheus/metrics.go +++ b/middleware/prometheus/metrics.go @@ -62,6 +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...), Help: "Histogram of the time (in seconds) each request took.", }, []string{"zone", "qtype"}) |