- Documentation
- Learning Hub
- Journey Introduction to Grafana Alerting
- Section 6 of 6 Create an alert with code
Create an alert with code
1
Build an alert with code
View slideWhen to choose Code mode over Builder, plus a hands-on Path for writing PromQL and creating a silence.
2
Common mistakes to avoid
View slideVague rule names, unsafe no-data handling, missing pending periods, and counter queries without a range function.
3
Resources
View slideDocumentation covering alert rules, queries and conditions, evaluation, labels, and contact points.