Skip to content

v0.3.98

Choose a tag to compare

@ERP4SME-DevOps-GitHub-Workflow-User ERP4SME-DevOps-GitHub-Workflow-User released this 24 May 10:41
c2f144c

Enhancements

This release adds the following metrics:

// # HELP component_operator_runtime_component_state Current state of a component
// # TYPE component_operator_runtime_component_state gauge
ComponentState = prometheus.NewGaugeVec(
	prometheus.GaugeOpts{
		Name: prefix + "_component_state",
		Help: "Current state of a component",
	},
	[]string{"controller", "group", "kind", "namespace", "name", "state"},
)

// # HELP component_operator_runtime_dependents_total Number of dependent objects
// # TYPE component_operator_runtime_dependents_total gauge
Dependents = prometheus.NewGaugeVec(
	prometheus.GaugeOpts{
		Name: prefix + "_dependents_total",
		Help: "Number of dependent objects",
	},
	[]string{"controller", "group", "kind", "namespace", "name"},
)
// # HELP component_operator_runtime_unready_dependents_total Number of unready dependent objects
// # TYPE component_operator_runtime_unready_dependents_total gauge
UnreadyDependents = prometheus.NewGaugeVec(
	prometheus.GaugeOpts{
		Name: prefix + "_unready_dependents_total",
		Help: "Number of unready dependent objects",
	},
	[]string{"controller", "group", "kind", "namespace", "name"},
)