From 3b47b1ecbd10ec6f06b4b0c028a05ddcfeb8b558 Mon Sep 17 00:00:00 2001 From: Wadim Kruse Date: Mon, 20 Jun 2016 18:36:05 +0200 Subject: [PATCH] Add Prometheus annotations doc --- docs/sources/reference/annotations.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/sources/reference/annotations.md b/docs/sources/reference/annotations.md index 51852abcdf2..668a163b672 100644 --- a/docs/sources/reference/annotations.md +++ b/docs/sources/reference/annotations.md @@ -40,3 +40,10 @@ as the name for the fields that should be used for the annotation title, tags an For InfluxDB you need to enter a query like in the above screenshot. You need to have the ```where $timeFilter``` part. If you only select one column you will not need to enter anything in the column mapping fields. +## Prometheus Annotations +![](/img/v3/annotations_prom.png) + +Prometheus supports two ways to query annotations. + +- A regular metric query +- 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))