21 karma · joined March 31, 2016
- For Prometheus, can view and search for alerts.
- For Loki and Cortex, can create and edit alert rules. See Alertmanager data source: https://grafana.com/docs/grafana/latest/datasources/alertman...
- For non-Prometheus data sources, uses the Grafana alerting engine but also has an embedded Alertmanager. Can use the same routing, grouping, deduping and silencing features that Alertmanager provides but for data sources like InfluxDB or MySQL.
When you get a notification, you have a link to the appropriate dashboard and it is also easy to create an alert from a query in a dashboard. You can see the linked alert rule in the panel edit mode.
Otherwise depending on the database, they have functions for drawing lines or you can do a hack like this one for Prometheus:
https://play.grafana.org/d/h1lglb7ik/threshold-hack?editPane...
It should be possible with SQL but it is trickier. TSDB's like Prometheus, Graphite and Influxdb (Flux) have the timeshift function built into their query languages. (https://community.grafana.com/t/advanced-graphing-part2-visu...)
https://github.com/grafana/grafana/blob/master/contribute/de...
https://about.gitlab.com/blog/2019/07/23/anomaly-detection-u...
There are some external plugins that offer more advanced support:
- https://grafana.com/grafana/plugins/aidanmountford-html-pane... - https://grafana.com/grafana/plugins/ryantxu-ajax-panel
http://docs.grafana.org/features/explore/#logs-integration-l...