kubernetes: k8s.io/kubernetes/pkg/util/metrics Index | Files

package metrics

import "k8s.io/kubernetes/pkg/util/metrics"

Index

Package Files

util.go

func RegisterMetricAndTrackRateLimiterUsage Uses

func RegisterMetricAndTrackRateLimiterUsage(ownerName string, rateLimiter flowcontrol.RateLimiter) error

RegisterMetricAndTrackRateLimiterUsage registers a metric ownerName_rate_limiter_use in prometheus to track how much used rateLimiter is and starts a goroutine that updates this metric every updatePeriod

Package metrics imports 5 packages (graph) and is imported by 533 packages. Updated 2019-09-13. Refresh now. Tools for package owners.