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 NameNamespacePrometheus CR
osc-scone-service-prometheus-servicemonitor-configosc-sec-scone-svc-operatorServiceMonitor CR
osc-scone-service-prometheus-prometheusrules-configosc-sec-scone-svc-operatorPrometheusRules 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 NameDescriptionTypeLabels
osc_sws_total_cr_countThe total number of CRs of the given typeGaugecr_type operator_name
osc_sws_operator_safe_to_deleteIndicates whether the operator is safe to deleteGaugeoperator_name
osc_sws_disabled_safeguardsIndicates whether the CR has disabled safeguardsGaugecr_name cr_namespace cr_type cr.sws.osc.t-systems.com/unmanaged