kubernetes/staging/src/k8s.io/client-go/tools/metrics/metrics.go

var registerMetrics

type DurationMetric

type ExpiryMetric

type LatencyMetric

type ResolverLatencyMetric

type SizeMetric

type ResultMetric

type CallsMetric

type RetryMetric

type TransportCacheMetric

type TransportCreateCallsMetric

var ClientCertExpiry

var ClientCertRotationAge

var RequestLatency

var ResolverLatency

var RequestSize

var ResponseSize

var RateLimiterLatency

var RequestResult

var ExecPluginCalls

var RequestRetry

var TransportCacheEntries

var TransportCreateCalls

type RegisterOpts

// Register registers metrics for the rest client to use. This can
// only be called once.
func Register(opts RegisterOpts) {}

type noopDuration

func (noopDuration) Observe(time.Duration) {}

type noopExpiry

func (noopExpiry) Set(*time.Time) {}

type noopLatency

func (noopLatency) Observe(context.Context, string, url.URL, time.Duration) {}

type noopResolverLatency

func (n noopResolverLatency) Observe(ctx context.Context, host string, latency time.Duration) {}

type noopSize

func (noopSize) Observe(context.Context, string, string, float64) {}

type noopResult

func (noopResult) Increment(context.Context, string, string, string) {}

type noopCalls

func (noopCalls) Increment(int, string) {}

type noopRetry

func (noopRetry) IncrementRetry(context.Context, string, string, string) {}

type noopTransportCache

func (noopTransportCache) Observe(int) {}

type noopTransportCreateCalls

func (noopTransportCreateCalls) Increment(string) {}