package
0.0.0-20250307001230-d884332f641b
Repository: https://github.com/openshift/configure-alertmanager-operator.git
Documentation: pkg.go.dev

# Functions

GenerateService returns the static service which exposes specified port.
GenerateServiceMonitor generates a prometheus-operator ServiceMonitor object based on the passed Service object.
RegisterMetrics for the operator.
StartMetrics register metrics and exposes them.
UpdateConfigMapMetrics updates all metrics related to the existence and contents of ConfigMaps used by configure-alertmanager-operator.
UpdateSecretsMetrics updates all metrics related to the existence and contents of Secrets used by configure-alertmanager-operator.

# Constants

MetricsEndpoint is the port to export metrics on.