routemetrics

package
v0.0.0-...-dbdff16 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteRouteMetricsControllerRoutesPerShardMetric

func DeleteRouteMetricsControllerRoutesPerShardMetric(shardName string)

func New

func New(mgr manager.Manager, namespace string) (controller.Controller, error)

New creates the route metrics controller. This is the controller that handles all the logic for gathering and exporting metrics related to route resources.

func RegisterMetrics

func RegisterMetrics() error

RegisterMetrics calls prometheus.Register on each metric in metricsList, and returns on errors.

func SetRouteMetricsControllerRoutesPerShardMetric

func SetRouteMetricsControllerRoutesPerShardMetric(shardName string, value float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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