diff options
Diffstat (limited to 'plugin/pkg')
-rw-r--r-- | plugin/pkg/proxy/metrics.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/plugin/pkg/proxy/metrics.go b/plugin/pkg/proxy/metrics.go index e4cae97c3..7def8b7ea 100644 --- a/plugin/pkg/proxy/metrics.go +++ b/plugin/pkg/proxy/metrics.go @@ -10,11 +10,12 @@ import ( // Variables declared for monitoring. var ( requestDuration = promauto.NewHistogramVec(prometheus.HistogramOpts{ - Namespace: plugin.Namespace, - Subsystem: "proxy", - Name: "request_duration_seconds", - Buckets: plugin.TimeBuckets, - Help: "Histogram of the time each request took.", + Namespace: plugin.Namespace, + Subsystem: "proxy", + Name: "request_duration_seconds", + Buckets: plugin.TimeBuckets, + NativeHistogramBucketFactor: plugin.NativeHistogramBucketFactor, + Help: "Histogram of the time each request took.", }, []string{"proxy_name", "to", "rcode"}) healthcheckFailureCount = promauto.NewCounterVec(prometheus.CounterOpts{ |