
Awesome Prometheus Alert Rules
1272 copy-pasteable Prometheus alerting rules. Find, copy, and deploy alerts in seconds.
Browse by category
Basic resource monitoring
14 services · 188 rules
Prometheus self-monitoring
37 rules
Host and hardware
41 rulesnode-exporter
S.M.A.R.T Device Monitoring
9 rulessmartctl-exporter
IPMI
18 rulesprometheus-community/ipmi_exporter
NVIDIA GPU
9 rulesNVIDIA/dcgm-exporter
Docker containers
10 rulesgoogle/cAdvisor
Blackbox
10 rulesprometheus/blackbox_exporter
Windows Server
8 rulesprometheus-community/windows_exporter
VMware
6 rulespryorda/vmware_exporter
Proxmox VE
11 rulesprometheus-pve/prometheus-pve-exporter
Netdata
9 rulesEmbedded exporter
eBPF
3 rulescloudflare/ebpf_exporter
Process Exporter
10 rulesncabatoff/process-exporter
Systemd
7 rulesprometheus-community/systemd_exporter
Databases
17 services · 254 rules
MySQL
19 rulesprometheus/mysqld_exporter
PostgreSQL
26 rulesprometheus-community/postgres_exporter
SQL Server
3 rulesOzarklake/prometheus-mssql-exporter
Oracle Database
9 rulesiamseth/oracledb_exporter
Patroni
1 ruleEmbedded exporter (Patroni >= 2.1.0)
PGBouncer
8 rulesspreaker/prometheus-pgbouncer-exporter
CloudNativePG
9 rulesEmbedded exporter
Redis
17 rulesoliver006/redis_exporter
Memcached
10 rulesprometheus/memcached_exporter
MongoDB
25 rulespercona/mongodb_exporter · dcu/mongodb_exporter · stefanprodan/mgob
Elasticsearch
24 rulesprometheus-community/elasticsearch_exporter
OpenSearch
12 rulesopensearch-project/opensearch-prometheus-exporter
Meilisearch
2 rulesEmbedded exporter
Cassandra
30 rulesinstaclustr/cassandra-exporter · criteo/cassandra_exporter
Clickhouse
24 rulesEmbedded Exporter
CouchDB
25 rulesgesellix/couchdb-prometheus-exporter
Solr
10 rulesembedded exporter
Message brokers
5 services · 60 rulesProxies, load balancers and service meshes
8 services · 87 rules
Nginx
4 rulesknyar/nginx-lua-prometheus
Apache
5 rulesLusitaniae/apache_exporter
HaProxy
34 rulesEmbedded exporter (HAProxy >= v2) · prometheus/haproxy_exporter (HAProxy < v2)
Traefik
9 rulesEmbedded exporter v2 · Embedded exporter v1
Caddy
3 rulesEmbedded exporter
Envoy
20 rulesBuilt-in metrics
Linkerd
1 ruleEmbedded exporter
Istio
11 rulesEmbedded exporter
Runtimes
6 services · 40 rulesData engineering
3 services · 37 rulesOrchestrators
8 services · 116 rulesCI/CD
5 services · 65 rulesNetwork and security
15 services · 104 rules
SpeedTest
2 rulesSpeedtest exporter
SSL/TLS
4 rulesssl_exporter
cert-manager
4 rulesEmbedded exporter
Juniper
4 rulesczerwonk/junos_exporter
CoreDNS
9 rulesEmbedded exporter
Freeswitch
4 rulesznerol/prometheus-freeswitch-exporter
sip-exporter
6 rulesaibudaevv/sip-exporter
Hashicorp Vault
7 rulesEmbedded exporter
External Secrets Operator
5 rulesEmbedded exporter
Kyverno
6 rulesEmbedded exporter
Keycloak
6 rulesaerogear/keycloak-metrics-spi
Cloudflare
5 ruleslablabs/cloudflare-exporter
SNMP
8 rulesprometheus/snmp_exporter
Cilium
31 rulesEmbedded exporter
WireGuard
3 rulesMindFlavor/prometheus_wireguard_exporter
Storage
6 services · 56 rulesCloud providers
4 services · 32 rulesObservability
9 services · 208 rules
Thanos
49 rulesThanos Compactor · Thanos Query · Thanos Receiver +5
Loki
6 rulesEmbedded exporter
Promtail
3 rulesEmbedded exporter
Cortex
23 rulesEmbedded exporter
Grafana Tempo
28 rulesEmbedded exporter
Grafana Mimir
55 rulesEmbedded exporter
Grafana Alloy
7 rulesEmbedded exporter
OpenTelemetry Collector
16 rulesEmbedded exporter
Jaeger
21 rulesEmbedded exporter (v2+) · Embedded exporter (legacy, <v2)
Frequently asked questions
What are Prometheus alerting rules?
Prometheus alerting rules are PromQL-based conditions evaluated by the Prometheus server. When a condition is true for a specified duration, an alert fires and is routed by AlertManager to receivers like Slack, PagerDuty, or email. Rules are defined as YAML files and cover metrics thresholds, absence of expected data, and rate-of-change conditions.
How do I use these Prometheus alert rules?
Find the service you want to monitor, copy the YAML snippet for any rule, and paste it into your Prometheus rules file (e.g., alerts/my-service.yml). Reload Prometheus to apply the rules. Adjust thresholds to match your workload — the values provided are sensible defaults but may need tuning.
What exporters and services are covered?
Awesome Prometheus Alerts covers 104 services across 13 categories: Basic resource monitoring (Prometheus self-monitoring, Host and hardware, S.M.A.R.T Device Monitoring, IPMI, NVIDIA GPU, Docker containers, Blackbox, Windows Server, VMware, Proxmox VE, Netdata, eBPF, Process Exporter, Systemd); Databases (MySQL, PostgreSQL, SQL Server, Oracle Database, Patroni, PGBouncer, CloudNativePG, Redis, Memcached, MongoDB, Elasticsearch, OpenSearch, Meilisearch, Cassandra, Clickhouse, CouchDB, Solr); Message brokers (RabbitMQ, Zookeeper, Kafka, Pulsar, Nats); Proxies, load balancers and service meshes (Nginx, Apache, HaProxy, Traefik, Caddy, Envoy, Linkerd, Istio); Runtimes (PHP-FPM, JVM, Golang, Ruby, Python, Sidekiq); Data engineering (Apache Flink, Apache Spark, Hadoop); Orchestrators (Kubernetes, Nomad, Consul, Etcd, OpenStack, Cluster Autoscaler, KEDA, Karpenter); CI/CD (Jenkins, ArgoCD, FluxCD, GitLab CI, Spinnaker); Network and security (SpeedTest, SSL/TLS, cert-manager, Juniper, CoreDNS, Freeswitch, sip-exporter, Hashicorp Vault, External Secrets Operator, Kyverno, Keycloak, Cloudflare, SNMP, Cilium, WireGuard); Storage (Ceph, ZFS, OpenEBS, Longhorn, Minio, Velero); Cloud providers (AWS CloudWatch, Google Cloud Stackdriver, DigitalOcean, Azure); Observability (Thanos, Loki, Promtail, Cortex, Grafana Tempo, Grafana Mimir, Grafana Alloy, OpenTelemetry Collector, Jaeger); Other (APC UPS, Graph Node, LiteLLM, vLLM).
What is the difference between warning and critical severity?
Critical alerts require immediate human attention — the system is down or severely degraded and revenue or reliability is directly impacted. Warning alerts need attention soon but are not immediately urgent. Info alerts are awareness-only, such as configuration changes or underutilized resources. Set up AlertManager routes to page on-call engineers only for critical alerts.
What is PromQL?
PromQL (Prometheus Query Language) is the functional query language used to select, filter, and aggregate time-series data in Prometheus. Alert rules use PromQL expressions — for example, rate(http_requests_total[5m]) > 100 fires when request rate exceeds 100/s over a 5-minute window.
Can I contribute new alert rules?
Yes! Contributions are welcome. Open a pull request on GitHub at https://github.com/samber/awesome-prometheus-alerts with your new rules added to the _data/rules.yml file. Follow the existing format: provide a clear rule name, a description explaining what the alert means and why it matters, a tested PromQL expression, an appropriate severity, and a sensible "for" duration to avoid false positives.
Can I share my own alerting rules?
Yes. Run npx awesome-prometheus-alerts share followed by your rule files or the directories holding them (for example /etc/prometheus/rules). The command uploads only Prometheus rule files and PrometheusRule resources, skips prometheus.yml, alertmanager.yml and other configurations that often contain credentials, and asks for confirmation first. Add --dry-run to preview what would be sent. Shared rules are reviewed to improve this collection.
What is AlertManager and how does it relate to these rules?
AlertManager is the component that receives firing alerts from Prometheus and handles deduplication, grouping, silencing, and routing to receivers (Slack, PagerDuty, email, webhooks). The alert rules in this collection fire alerts from Prometheus — AlertManager then decides who to notify and when. See the AlertManager Configuration guide on this site for setup examples.
How do I silence or suppress an alert?
AlertManager supports silences — time-bounded mutes applied via its UI or API that suppress notifications without disabling the rule. For recurring suppression (nights, weekends, deployments), use inhibition rules or time-based PromQL patterns. See the Sleep Peacefully guide on this site for timezone-aware suppression examples using day_of_week() and hour() functions.
What is the license for these alert rules?
The alert rules and content are licensed under Creative Commons CC BY 4.0 — you are free to use, adapt, and redistribute them, including commercially, as long as you provide attribution. The site source code is licensed under MIT. See the LICENSE file in the GitHub repository for details.


