mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-04 20:23:24 +00:00
8c76072fd2
* Update docusaurus.config.js/Remove v2.5 redirects and update v2.5 label and path * Update version-2.5-sidebars.json with notice * Remove v2.5 files/Add v2.5 files to archived_docs folder * Fix broken link * Fix broken link/typo * Fix broken links
1.4 KiB
1.4 KiB
title
| title |
|---|
| Monitoring V2 Configuration Examples |
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.