package metrics
import "k8s.io/kubernetes/pkg/proxy/metrics"
Index ¶
Variables ¶
var ( // SyncProxyRulesLatency is the latency of one round of kube-proxy syncing proxy rules. SyncProxyRulesLatency = prometheus.NewHistogram( prometheus.HistogramOpts{ Subsystem: kubeProxySubsystem, Name: "sync_proxy_rules_latency_microseconds", Help: "SyncProxyRules latency", Buckets: prometheus.ExponentialBuckets(1000, 2, 15), }, ) )
Functions ¶
func RegisterMetrics ¶
func RegisterMetrics()
RegisterMetrics registers sync proxy rules latency metrics
func SinceInMicroseconds ¶
SinceInMicroseconds gets the time since the specified start in microseconds.
Source Files ¶
metrics.go
- Version
- v1.12.7
- Published
- Mar 22, 2019
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 3 minutes ago –
Tools for package owners.