operatorcontroller

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListMetrics

func ListMetrics() []operatormetrics.Metric

ListMetrics registered prometheus metrics

func SetInit

func SetInit()

SetInit sets the readyGauge to -1, 0 is our value for alert to start firing, so can't default to that.

func SetNotReady

func SetNotReady()

SetNotReady sets the readyGauge to false

func SetReady

func SetReady()

SetReady sets the readyGauge to true

func SetupMetrics

func SetupMetrics() error

SetupMetrics register 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