We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17246b8 commit d6fdac8Copy full SHA for d6fdac8
pkg/controller/volume/scheduling/metrics/metrics.go
@@ -17,8 +17,6 @@ limitations under the License.
17
package metrics
18
19
import (
20
- "github.com/prometheus/client_golang/prometheus"
21
-
22
"k8s.io/component-base/metrics"
23
"k8s.io/component-base/metrics/legacyregistry"
24
)
@@ -43,7 +41,7 @@ var (
43
41
Subsystem: VolumeSchedulerSubsystem,
44
42
Name: "scheduling_duration_seconds",
45
Help: "Volume scheduling stage latency",
46
- Buckets: prometheus.ExponentialBuckets(1000, 2, 15),
+ Buckets: metrics.ExponentialBuckets(1000, 2, 15),
47
StabilityLevel: metrics.ALPHA,
48
},
49
[]string{"operation"},
0 commit comments