kubernetes/vendor/sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client/metrics/metrics.go

const Namespace

const Subsystem

var Metrics

type ClientMetrics

type DialFailureReason

const DialFailureUnknown

const DialFailureTimeout

const DialFailureContext

const DialFailureEndpoint

const DialFailureDialClosed

const DialFailureTunnelClosed

const DialFailureAlreadyStarted

type ClientConnectionStatus

const ClientConnectionStatusCreated

const ClientConnectionStatusDialing

const ClientConnectionStatusOk

const ClientConnectionStatusClosing

func newMetrics() *ClientMetrics {}

// RegisterMetrics registers all metrics with the client application.
func (c *ClientMetrics) RegisterMetrics(r prometheus.Registerer) {}

// LegacyRegisterMetrics registers all metrics via MustRegister func.
// TODO: remove this once https://github.com/kubernetes/kubernetes/pull/114293 is available.
func (c *ClientMetrics) LegacyRegisterMetrics(mustRegisterFn func(...prometheus.Collector)) {}

// Reset resets the metrics.
func (c *ClientMetrics) Reset() {}

func (c *ClientMetrics) ObserveDialFailure(reason DialFailureReason) {}

func (c *ClientMetrics) GetClientConnectionsMetric() *prometheus.GaugeVec {}

func (c *ClientMetrics) ObservePacket(segment commonmetrics.Segment, packetType client.PacketType) {}

func (c *ClientMetrics) ObserveStreamErrorNoPacket(segment commonmetrics.Segment, err error) {}

func (c *ClientMetrics) ObserveStreamError(segment commonmetrics.Segment, err error, packetType client.PacketType) {}