kubernetesk8s.io/kubernetes/pkg/proxy/winkernel Index | Files

package winkernel

import "k8s.io/kubernetes/pkg/proxy/winkernel"

Index

Variables

var (
	SyncProxyRulesLatency = prometheus.NewHistogram(
		prometheus.HistogramOpts{
			Subsystem: kubeProxySubsystem,
			Name:      "sync_proxy_rules_duration_seconds",
			Help:      "SyncProxyRules latency in seconds",
			Buckets:   prometheus.ExponentialBuckets(0.001, 2, 15),
		},
	)

	DeprecatedSyncProxyRulesLatency = prometheus.NewHistogram(
		prometheus.HistogramOpts{
			Subsystem: kubeProxySubsystem,
			Name:      "sync_proxy_rules_latency_microseconds",
			Help:      "(Deprecated) SyncProxyRules latency in microseconds",
			Buckets:   prometheus.ExponentialBuckets(1000, 2, 15),
		},
	)

	// SyncProxyRulesLastTimestamp is the timestamp proxy rules were last
	// successfully synced.
	SyncProxyRulesLastTimestamp = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Subsystem: kubeProxySubsystem,
			Name:      "sync_proxy_rules_last_timestamp_seconds",
			Help:      "The last time proxy rules were successfully synced",
		},
	)
)

Functions

func RegisterMetrics

func RegisterMetrics()

Source Files

metrics.go

Version
v1.14.10
Published
Dec 11, 2019
Platform
js/wasm
Imports
3 packages
Last checked
4 minutes ago

Tools for package owners.