apiserverk8s.io/apiserver/pkg/util/proxy/metrics Index | Files

package metrics

import "k8s.io/apiserver/pkg/util/proxy/metrics"

Index

Functions

func IncStreamTranslatorRequest

func IncStreamTranslatorRequest(ctx context.Context, status string)

IncStreamTranslatorRequest increments the # of requests handled by the StreamTranslatorProxy.

func IncStreamTunnelRequest

func IncStreamTunnelRequest(ctx context.Context, status string)

IncStreamTunnelRequest increments the # of requests handled by the StreamTunnelProxy.

func Register

func Register()

func ResetForTest

func ResetForTest()

Source Files

metrics.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
1 hour ago

Tools for package owners.