metrics

package
v3.16.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllStatuses = []Status{ActiveStatus, ErrorStatus}

AllStatuses is the set of all allowed values of Status.

Functions

func AddToManager

func AddToManager(m manager.Manager) error

func DisableRESTClientMetrics

func DisableRESTClientMetrics()

DisableRESTClientMetrics disables the rest client latency histograms configured by controller-runtime in sigs.k8s.io/controller-runtime/pkg/metrics/client_go_adapter.go#registerClientMetrics.

Types

type Status

type Status string

Status is whether a ConstraintTemplate is functioning properly. Reported in metrics.

const (
	// ActiveStatus indicates a ConstraintTemplate is operating normally.
	ActiveStatus Status = "active"
	// ErrorStatus indicates there is a problem with a ConstraintTemplate.
	ErrorStatus Status = "error"
)

Directories

Path Synopsis
exporters
Package registry provides a dynamic registry of available exporters.
Package registry provides a dynamic registry of available exporters.

Jump to

Keyboard shortcuts

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