From 17f3bbe4a1cd66f5b27143504751e462b39d7645 Mon Sep 17 00:00:00 2001 From: Usman Ahmad Date: Mon, 27 Nov 2023 15:19:51 +0100 Subject: [PATCH] Fixed broken url link for applying annotation in this doc page (#78673) * Fixed broken url link Fixed the incorrect link for applying annotation to the correct documentation page * fixed the links using Shortcodes fixed the [annotate visualizations] links using Shortcodes * Prettier Signed-off-by: Jack Baldry --------- Signed-off-by: Jack Baldry Co-authored-by: Jack Baldry --- docs/sources/datasources/prometheus/_index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/sources/datasources/prometheus/_index.md b/docs/sources/datasources/prometheus/_index.md index 5029e2f3cc0..298320dd8aa 100644 --- a/docs/sources/datasources/prometheus/_index.md +++ b/docs/sources/datasources/prometheus/_index.md @@ -28,7 +28,7 @@ For instructions on how to add a data source to Grafana, refer to the [administr Only users with the organization `administrator` role can add data sources and edit existing data sources. Administrators can also [configure the data source via YAML](#provision-the-data-source) with Grafana's provisioning system. -Once you've added the Prometheus data source, you can [configure it][configure-prometheus-data-source] so that your Grafana instance's users can create queries in its [query editor]({{< relref "./query-editor" >}}) when they [build dashboards][build-dashboards], use [Explore][explore], and [annotate visualizations]({{< relref "./query-editor#apply-annotations" >}}). +Once you've added the Prometheus data source, you can [configure it][configure-prometheus-data-source] so that your Grafana instance's users can create queries in its [query editor]({{< relref "./query-editor" >}}) when they [build dashboards][build-dashboards], use [Explore][explore], and [annotate visualizations][annotate visualizations]. The following guides will help you get started with the Prometheus data source: @@ -196,4 +196,8 @@ The Prometheus data source can be configured to disable recording rules under th [set-up-grafana-monitoring]: "/docs/grafana/ -> /docs/grafana//setup-grafana/set-up-grafana-monitoring" [set-up-grafana-monitoring]: "/docs/grafana-cloud/ -> /docs/grafana//setup-grafana/set-up-grafana-monitoring" + +[annotate visualizations]: "/docs/grafana/ -> /docs/grafana//dashboards/build-dashboards/annotate-visualizations" +[annotate visualizations]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/dashboards/build-dashboards/annotate-visualizations" + {{% /docs/reference %}}