From 98632cd4a644f020910ddef83845cbfb24ed5f0c Mon Sep 17 00:00:00 2001 From: Rene Treffer Date: Tue, 5 Dec 2017 19:51:55 +0100 Subject: [PATCH] Fix time bucketing of response time (#1274) --- plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/plugin.go b/plugin/plugin.go index 06d22546d..a50f10830 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -103,4 +103,4 @@ func ClientWrite(rcode int) bool { const Namespace = "coredns" // TimeBuckets is based on Prometheus client_golang prometheus.DefBuckets -var TimeBuckets = prometheus.ExponentialBuckets(0.25, 2, 16) // from 0.25ms to 8 seconds +var TimeBuckets = prometheus.ExponentialBuckets(0.00025, 2, 16) // from 0.25ms to 8 seconds