Documentation ¶
Index ¶
- Variables
- func DeleteRunnerMetrics(runnerpool, runner string)
- func DeleteRunnerPoolMetrics(runnerpool string)
- func IncrementListenerExitState(state string)
- func InitControllerMetrics(registry prometheus.Registerer)
- func InitRunnerPodMetrics(registry prometheus.Registerer, name string)
- func UpdateRunnerMetrics(runnerpool, runner string, online, busy bool)
- func UpdateRunnerPodState(curState string)
- func UpdateRunnerPoolMetrics(runnerpool string, replicas int)
- type Gauge
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotExist = errors.New("metrics is not exist") ErrWrongType = errors.New("metrics type is wrong") )
View Source
var (
RunnerPoolSecretRetryCount *prometheus.GaugeVec
)
Controller related metrics
Functions ¶
func DeleteRunnerMetrics ¶
func DeleteRunnerMetrics(runnerpool, runner string)
func DeleteRunnerPoolMetrics ¶
func DeleteRunnerPoolMetrics(runnerpool string)
func IncrementListenerExitState ¶
func IncrementListenerExitState(state string)
func InitControllerMetrics ¶
func InitControllerMetrics(registry prometheus.Registerer)
func InitRunnerPodMetrics ¶
func InitRunnerPodMetrics(registry prometheus.Registerer, name string)
func UpdateRunnerMetrics ¶
func UpdateRunnerPodState ¶
func UpdateRunnerPodState(curState string)
func UpdateRunnerPoolMetrics ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.