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 = metrics.NewHistogram(
        &metrics.HistogramOpts{
            Subsystem:      kubeProxySubsystem,
            Name:           "sync_proxy_rules_duration_seconds",
            Help:           "SyncProxyRules latency in seconds",
            Buckets:        metrics.ExponentialBuckets(0.001, 2, 15),
            StabilityLevel: metrics.ALPHA,
        },
    )

    DeprecatedSyncProxyRulesLatency = metrics.NewHistogram(
        &metrics.HistogramOpts{
            Subsystem:         kubeProxySubsystem,
            Name:              "sync_proxy_rules_latency_microseconds",
            Help:              "SyncProxyRules latency in microseconds",
            Buckets:           metrics.ExponentialBuckets(1000, 2, 15),
            StabilityLevel:    metrics.ALPHA,
            DeprecatedVersion: "1.14.0",
        },
    )

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

func RegisterMetrics Uses

func RegisterMetrics()

Package winkernel imports 4 packages (graph). Updated 2019-11-17. Refresh now. Tools for package owners.