Documentation
¶
Index ¶
Constants ¶
View Source
const (
// OperatorMetricsPort is the port where operator exposes metrics
OperatorMetricsPort = 8080
)
Variables ¶
This section is empty.
Functions ¶
func CheckPanicMetrics ¶
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.
Click to show internal directories.
Click to hide internal directories.