package
0.0.0-20240815173558-303cc3735024
Repository: https://github.com/libopenstorage/operator.git
Documentation: pkg.go.dev

# Functions

CreateMetricsService creates a Kubernetes Service to expose the passed metrics port(s) with the given name(s).
CreateServiceMonitors creates ServiceMonitors objects based on an array of Service objects.
GenerateServiceMonitor generates a prometheus-operator ServiceMonitor object based on the passed Service object.

# Constants

CRPortName defines the custom resource specific metrics' port name used in the metrics Service.
OperatorPortName defines the default operator metrics port name used in the metrics Service.

# Variables

ErrServiceMonitorNotPresent error when ServiceMonitor kind is not registered.