Commit 98632cd4 authored by Rene Treffer's avatar Rene Treffer Committed by Miek Gieben

Fix time bucketing of response time (#1274)

parent 16b4f4db
...@@ -103,4 +103,4 @@ func ClientWrite(rcode int) bool { ...@@ -103,4 +103,4 @@ func ClientWrite(rcode int) bool {
const Namespace = "coredns" const Namespace = "coredns"
// TimeBuckets is based on Prometheus client_golang prometheus.DefBuckets // 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment