This is unreleased documentation for SUSE® Rancher Manager v2.15 (Unreleased).

Monitoring Configuration Examples

Deprecation Notice

Rancher Monitoring v2 (rancher-monitoring) is deprecated and no longer receives updates. Rancher maintains the legacy chart only to support existing deployments. For new installations, ongoing updates, and support, use the decoupled rancher-monitoring-dashboards chart. For instructions on migrating, see Migrating from rancher-monitoring to rancher-monitoring-dashboards.

ServiceMonitor

See the official prometheus-operator GitHub repo for an example ServiceMonitor YAML.

PodMonitor

See the Prometheus Operator documentation for an example PodMonitor and an example Prometheus resource that refers to a PodMonitor.

PrometheusRule

A PrometheusRule contains the alerting and recording rules that you would usually place in a Prometheus rule file.

For a more fine-grained approach, the ruleSelector field on a Prometheus resource can select which PrometheusRules should be loaded onto Prometheus, based on the labels attached to the PrometheusRules resources.

See the Prometheus Operator documentation for an example PrometheusRule.

Alertmanager Config

See the Rancher docs page on Receivers for an example Alertmanager config.