From 85e2b028de4a924676f5ead05576d278f1d18f65 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Wed, 19 Oct 2022 15:30:55 +0100 Subject: [PATCH] Docs: Fix links in panels and vis docs (#57233) (#57275) (cherry picked from commit e52c98ba99857376c82c0e291c5a0768935f37a3) Co-authored-by: Garrett Guillotte <100453168+gguillotte-grafana@users.noreply.github.com> --- .../panels-visualizations/query-transform-data/_index.md | 7 +++---- .../sources/panels-visualizations/visualizations/_index.md | 2 +- .../visualizations/status-history/index.md | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/sources/panels-visualizations/query-transform-data/_index.md b/docs/sources/panels-visualizations/query-transform-data/_index.md index 471962fac25..10c2f467015 100644 --- a/docs/sources/panels-visualizations/query-transform-data/_index.md +++ b/docs/sources/panels-visualizations/query-transform-data/_index.md @@ -13,7 +13,6 @@ aliases: - /docs/grafana/latest/panels/query-options/ - /docs/grafana/latest/panels/reference-query-options/ - /docs/grafana/latest/panels-visualizations/query-options/ - title: Query and transform data weight: 200 --- @@ -28,7 +27,7 @@ _Queries_ are how Grafana panels communicate with data sources to get data for t Use you a query editor to write a query. Each data source has its own query editor that we have customized to include the features and capabilities of the data source. Grafana supports up to 26 queries per panel. -> Important! You must be familiar with the query language of the data source. For more information about data sources, refer to [Data sources](../../../datasources/). +> Important! You must be familiar with the query language of the data source. For more information about data sources, refer to [Data sources]({{< relref "../../datasources/" >}}). ### Query editors @@ -76,11 +75,11 @@ You can combine data from multiple data sources onto a single dashboard, but eac The Query tab consists of the following elements: -- Data source selector: Use the data source selector to select the source of the data you want to query. For more information about data sources, refer to [Data sources](../../../datasources/). +- Data source selector: Use the data source selector to select the source of the data you want to query. For more information about data sources, refer to [Data sources]({{< relref "../../datasources/" >}}). - Query options: Enables you to set maximum data retrieved parameters and query execution time intervals. - Query inspector button: Open the query inspector panel where you can view and optimize your query. - Query editor list: Lists the queries you have written. -- Expressions: Use the expression builder to create alert expressions. For more information about expressions, refer to [Use expressions to manipulate data](../use-expressions-to-manipulate-data/). +- Expressions: Use the expression builder to create alert expressions. For more information about expressions, refer to [Use expressions to manipulate data]({{< relref "expression-queries/" >}}). {{< figure src="/static/img/docs/queries/query-editor-7-2.png" class="docs-image--no-shadow" max-width="1000px" >}} diff --git a/docs/sources/panels-visualizations/visualizations/_index.md b/docs/sources/panels-visualizations/visualizations/_index.md index a6b1e06fed1..68365387b20 100644 --- a/docs/sources/panels-visualizations/visualizations/_index.md +++ b/docs/sources/panels-visualizations/visualizations/_index.md @@ -60,7 +60,7 @@ For categorical data use the [Bar chart]({{< relref "bar-chart/" >}}) visualizat ### Big numbers & stats -The [Stat](stat-panel/) visualization shows one large stat value with an optional graph sparkline. You can control the background or value color using thresholds or color scales. +The [Stat]({{< relref "stat/" >}}) visualization shows one large stat value with an optional graph sparkline. You can control the background or value color using thresholds or color scales. {{< figure src="/static/img/docs/v66/stat_panel_dark3.png" max-width="1025px" caption="Stat panel" >}} diff --git a/docs/sources/panels-visualizations/visualizations/status-history/index.md b/docs/sources/panels-visualizations/visualizations/status-history/index.md index 27839b0d96a..d8746f82a41 100644 --- a/docs/sources/panels-visualizations/visualizations/status-history/index.md +++ b/docs/sources/panels-visualizations/visualizations/status-history/index.md @@ -45,7 +45,7 @@ Controls the opacity of state regions. ## Value mappings -To assign colors to boolean or string values, use the [Value mappings](< {{ refref "../value-mappings.md"}} >). +To assign colors to boolean or string values, use the [Value mappings]({{< relref "../../configure-value-mappings/" >}}). {{< figure src="/static/img/docs/v8/value_mappings_side_editor.png" max-width="300px" caption="Value mappings side editor" >}}