aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/object/metrics.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/kubernetes/object/metrics.go')
-rw-r--r--plugin/kubernetes/object/metrics.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/kubernetes/object/metrics.go b/plugin/kubernetes/object/metrics.go
index f39744b8a..149648411 100644
--- a/plugin/kubernetes/object/metrics.go
+++ b/plugin/kubernetes/object/metrics.go
@@ -29,8 +29,9 @@ var (
Subsystem: "kubernetes",
Name: "dns_programming_duration_seconds",
// From 1 millisecond to ~17 minutes.
- Buckets: prometheus.ExponentialBuckets(0.001, 2, 20),
- Help: "Histogram of the time (in seconds) it took to program a dns instance.",
+ Buckets: prometheus.ExponentialBuckets(0.001, 2, 20),
+ NativeHistogramBucketFactor: plugin.NativeHistogramBucketFactor,
+ Help: "Histogram of the time (in seconds) it took to program a dns instance.",
}, []string{"service_kind"})
// DurationSinceFunc returns the duration elapsed since the given time.