From 971d7f29892399e6d8e2d5c41c69bedd00e51772 Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Mon, 30 Oct 2017 15:03:41 -0400 Subject: [PATCH] Change bucket info of volume operations --- pkg/volume/util/metrics.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/volume/util/metrics.go b/pkg/volume/util/metrics.go index 087bbfff416..ab2d76286bb 100644 --- a/pkg/volume/util/metrics.go +++ b/pkg/volume/util/metrics.go @@ -24,8 +24,9 @@ import ( var storageOperationMetric = prometheus.NewHistogramVec( prometheus.HistogramOpts{ - Name: "storage_operation_duration_seconds", - Help: "Storage operation duration", + Name: "storage_operation_duration_seconds", + Help: "Storage operation duration", + Buckets: []float64{.1, .25, .5, 1, 2.5, 5, 10, 15, 25, 50}, }, []string{"volume_plugin", "operation_name"}, )