Skip to content

Commit 87ab97b

Browse files
authored
Merge pull request grafana#5391 from wkruse/prometheus-annotations-doc
Add Prometheus annotations doc
2 parents 12706fd + 3b47b1e commit 87ab97b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/sources/reference/annotations.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,10 @@ as the name for the fields that should be used for the annotation title, tags an
4040
For InfluxDB you need to enter a query like in the above screenshot. You need to have the ```where $timeFilter``` part.
4141
If you only select one column you will not need to enter anything in the column mapping fields.
4242

43+
## Prometheus Annotations
44+
![](/img/v3/annotations_prom.png)
45+
46+
Prometheus supports two ways to query annotations.
47+
48+
- A regular metric query
49+
- A Prometheus query for pending and firing alerts (for details see [Inspecting alerts during runtime](https://prometheus.io/docs/alerting/rules/#inspecting-alerts-during-runtime))

0 commit comments

Comments
 (0)