metrics

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyRecorder

type ProxyRecorder struct {
	MetricTimeseriesBatchesReceived        prometheus.Counter
	MetricTimeseriesBatchesReceivedBytes   prometheus.Histogram
	MetricTimeseriesReceived               *prometheus.CounterVec
	MetricTimeseriesRequestDurationSeconds *prometheus.HistogramVec
	MetricTimeseriesRequestErrors          *prometheus.CounterVec
	MetricTimeseriesRequests               *prometheus.CounterVec
}

func MustMakeRecorder

func MustMakeRecorder(proxyName string) *ProxyRecorder

func NewRecorder

func NewRecorder(proxyName string) *ProxyRecorder

func (*ProxyRecorder) Collectors

func (r *ProxyRecorder) Collectors() []prometheus.Collector

func (*ProxyRecorder) DeleteMetricsForNamespace

func (r *ProxyRecorder) DeleteMetricsForNamespace(ns *corev1.Namespace)

DeleteCondition deletes the condition metrics for the ref.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL