kubernetes: k8s.io/kubernetes/pkg/proxy/winkernel Index | Files

package winkernel

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

Index

Package Files

metrics.go

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",
        },
    )
)

func RegisterMetrics Uses

func RegisterMetrics()

Package winkernel imports 3 packages (graph). Updated 2019-07-21. Refresh now. Tools for package owners.