metrics

package
v2.1.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OperatorMetricsPort is the port where operator exposes metrics
	OperatorMetricsPort = 8080
)

Variables

This section is empty.

Functions

func CheckPanicMetrics

func CheckPanicMetrics(ctx context.Context, restConfig *rest.Config, ns, deploy string) error

CheckPanicMetrics checks the operator panic metrics and returns the panic count. It retrieves the operator pod, port forwards to its metrics endpoint, fetches the metrics, and parses the panic count from the Prometheus metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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