aboutsummaryrefslogtreecommitdiff
path: root/plugin/plugin.go
diff options
context:
space:
mode:
authorGravatar Rene Treffer <treffer+github@measite.de> 2017-12-05 19:51:55 +0100
committerGravatar Miek Gieben <miek@miek.nl> 2017-12-05 18:51:55 +0000
commit98632cd4a644f020910ddef83845cbfb24ed5f0c (patch)
tree0ae5a270ff13f7badecfea752106ba65bdf848a4 /plugin/plugin.go
parent16b4f4db3a1f476da30a775bd6652f4254ea52f3 (diff)
downloadcoredns-98632cd4a644f020910ddef83845cbfb24ed5f0c.tar.gz
coredns-98632cd4a644f020910ddef83845cbfb24ed5f0c.tar.zst
coredns-98632cd4a644f020910ddef83845cbfb24ed5f0c.zip
Fix time bucketing of response time (#1274)
Diffstat (limited to 'plugin/plugin.go')
-rw-r--r--plugin/plugin.go2
1 files changed, 1 insertions, 1 deletions
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