Skip to content

Operator Monitoring

The monitoring configuration of the scone-service-operator is available in the kubernetes cluster inside of configMaps. The following custom resources of the Prometheus Operator project are provided per configMap:

ConfigMap Name Namespace Prometheus CR
osc-scone-service-prometheus-servicemonitor-config osc-sec-scone-svc-operator ServiceMonitor CR
osc-scone-service-prometheus-prometheusrules-config osc-sec-scone-svc-operator PrometheusRules CR

The user can fetch this configMaps and potentially use them to configure their own prometheus instance.

Custom Service Operator Metrics

The description of the metrics can be found Custom Service Operator Metrics.

Metric Name Description Type Labels
osc_sws_total_cr_count The total number of CRs of the given type Gauge cr_type operator_name
osc_sws_operator_safe_to_delete Indicates whether the operator is safe to delete Gauge operator_name
osc_sws_disabled_safeguards Indicates whether the CR has disabled safeguards Gauge cr_name cr_namespace cr_type cr.sws.osc.t-systems.com/unmanaged