mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-18 18:49:05 +02:00
996 B
996 B
Prometheus rules for windows_exporter
Ready-to-use Prometheus rule files, rendered from the mixin with its default configuration:
windows_rules.yaml: recording rules.windows_alerts.yaml: alerting rules for the default collectors.
The alerts build on the recording rules, so load both files:
rule_files:
- /etc/prometheus/rules/windows_rules.yaml
- /etc/prometheus/rules/windows_alerts.yaml
The files expect the exporter under the job name windows_exporter. For other
job names, thresholds, selectors or the alerts of opt-in collectors, render
the mixin with your own configuration as the
mixin documentation describes. Every alert links
to its runbook.
Do not edit these files by hand: mise run rules in contrib/mixin
regenerates them, and CI fails when they are out of date.