From 3e99e8fb6ca48d6e7343d10636338748cddd46ca Mon Sep 17 00:00:00 2001 From: Andrej Ocenas Date: Wed, 2 Oct 2019 10:00:23 +0200 Subject: [PATCH] Docs: Updates about Loki annotations (#19537) --- docs/sources/features/datasources/loki.md | 2 +- docs/sources/reference/annotations.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/sources/features/datasources/loki.md b/docs/sources/features/datasources/loki.md index 5cb5e5b79d3..0eed84c4cac 100644 --- a/docs/sources/features/datasources/loki.md +++ b/docs/sources/features/datasources/loki.md @@ -129,7 +129,7 @@ Checkout the [Templating](/reference/templating) documentation for an introducti ## Annotations -You can use any non-metric Loki query as a source for annotations. Log content will be used as annotation text, so there is no need for additional mapping. +You can use any non-metric Loki query as a source for annotations. Log content will be used as annotation text and your log stream labels as tags, so there is no need for additional mapping. > Note: Annotations for Loki are only available in Grafana v6.4+ diff --git a/docs/sources/reference/annotations.md b/docs/sources/reference/annotations.md index 8732c8c709b..d89d39e1048 100644 --- a/docs/sources/reference/annotations.md +++ b/docs/sources/reference/annotations.md @@ -75,3 +75,4 @@ The annotation query options are different for each data source. - [Prometheus annotation queries]({{< relref "features/datasources/prometheus.md#annotations" >}}) - [MySQL annotation queries]({{< relref "features/datasources/mysql.md#annotations" >}}) - [Postgres annotation queries]({{< relref "features/datasources/postgres.md#annotations" >}}) +- [Loki annotation queries]({{< relref "features/datasources/loki.md#annotations" >}})