This repository has been archived on 2026-07-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
docker/docs/generated/prometheus-rules.md
T

690 B

Prometheus Rules

File Group Alert Expr For Labels Annotations
monitoring/prometheus/rules/alerts.yml system HostHighCPU 100 * (1 - avg by(instance) (rate(node_cpu_seconds_total{mode="idle"}[2m]))) > 90 2m {'severity': 'warning'} {'summary': 'High CPU usage on host'}
monitoring/prometheus/rules/alerts.yml system ContainerRestarting increase(container_restart_count[10m]) > 3 1m {'severity': 'warning'} {'summary': 'Container restarting frequently'}
monitoring/prometheus/rules/alerts.yml system AlwaysFiring vector(1) 10s {'severity': 'critical'} {'summary': 'This alert should always fire'}