Building numerical-based alerts
Grafana manages alerts using queries in the following data sources:
- All the data sources integrated by Grafana Labs: InfluxDB, Graphite, Prometheus, Loki, Elasticsearch, Google Cloud Monitoring, Cloudwatch, Azure Monitor, MySQL, PostgreSQL, MSSQL, OpenTSDB, and Oracle. In all the cases, the alerting must be enabled.
- All the community-developed data sources that have alerting enabled.
Besides data sources alerting, Grafana has its internal alerting metrics. You can see all the internal metrics in the following table:
Time-series and tabular data
In this book, we have focused mainly on time-series data. When you use time-series data, each record must be reduced to a single number, so alert rules can be applied.
On the other hand, if you have tabular data, you only have to compare the value obtained by the query.