[v9.3.x] Use relative aliases for all non-current Grafana aliases (#60111)
* Use relative aliases for all non-current Grafana aliases Prevents non-latest documentation "stealing" the page away from latest and through permanent redirects for latest pages that no longer exist. The redirected pages are indexed by search engines but our robots.txt forbids them crawling the non-latest page. Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Remove all current page aliases find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/next/[^\n]*\n#\n#' {} \; find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/latest/[^\n]*\n#\n#' {} \; find docs/sources -type f -name '*.md' -exec sed -Ez -i 's#\n((aliases:\n *-)|aliases:\n)#\n\2#' {} \; Signed-off-by: Jack Baldry <jack.baldry@grafana.com> Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/
|
||||
- /docs/grafana/latest/datasources/overview/
|
||||
- /docs/grafana/latest/data-sources/
|
||||
- data-sources/
|
||||
- overview/
|
||||
title: Data sources
|
||||
weight: 60
|
||||
---
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/alertmanager/
|
||||
- /docs/grafana/latest/datasources/alertmanager/
|
||||
- /docs/grafana/latest/data-sources/alertmanager/
|
||||
- ../data-sources/alertmanager/
|
||||
- ../features/datasources/alertmanager/
|
||||
description: Guide for using Alertmanager as a data source in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/cloudwatch/
|
||||
- /docs/grafana/latest/datasources/aws-cloudwatch/
|
||||
- /docs/grafana/latest/datasources/aws-cloudwatch/provision-cloudwatch/
|
||||
- /docs/grafana/latest/datasources/aws-cloudwatch/preconfig-cloudwatch-dashboards/
|
||||
- /docs/grafana/latest/data-sources/aws-cloudwatch/
|
||||
- /docs/grafana/latest/data-sources/aws-cloudwatch/provision-cloudwatch/
|
||||
- /docs/grafana/latest/data-sources/aws-cloudwatch/preconfig-cloudwatch-dashboards/
|
||||
- ../data-sources/aws-cloudwatch/
|
||||
- ../data-sources/aws-cloudwatch/preconfig-cloudwatch-dashboards/
|
||||
- ../data-sources/aws-cloudwatch/provision-cloudwatch/
|
||||
- cloudwatch/
|
||||
- preconfig-cloudwatch-dashboards/
|
||||
- provision-cloudwatch/
|
||||
description: Guide for using AWS CloudWatch in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/aws-cloudwatch/aws-authentication/
|
||||
- /docs/grafana/latest/datasources/cloudwatch/
|
||||
- /docs/grafana/latest/data-sources/aws-cloudwatch/aws-authentication/
|
||||
- /docs/grafana/latest/data-sources/elasticsearch/aws-authentication/
|
||||
- ../../data-sources/aws-cloudwatch/aws-authentication/
|
||||
- ../../data-sources/elasticsearch/aws-authentication/
|
||||
- ../cloudwatch/
|
||||
description: Guide to configuring AWS authentication in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/aws-cloudwatch/
|
||||
- /docs/grafana/latest/datasources/cloudwatch/
|
||||
- /docs/grafana/latest/data-sources/aws-cloudwatch/query-editor/
|
||||
- ../../data-sources/aws-cloudwatch/query-editor/
|
||||
- ../cloudwatch/
|
||||
- ./
|
||||
description: Guide for using the AWS CloudWatch data source's query editor
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/aws-cloudwatch/template-queries-cloudwatch/
|
||||
- /docs/grafana/latest/data-sources/aws-cloudwatch/template-variables/
|
||||
- ../../data-sources/aws-cloudwatch/template-variables/
|
||||
- template-queries-cloudwatch/
|
||||
description: Guide on using template variables in CloudWatch queries
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/azuremonitor/
|
||||
- /docs/grafana/latest/features/datasources/azuremonitor/
|
||||
- /docs/grafana/latest/datasources/azuremonitor/deprecated-application-insights/
|
||||
- /docs/grafana/latest/datasources/azure-monitor/
|
||||
- /docs/grafana/latest/data-sources/azure-monitor/
|
||||
- ../data-sources/azure-monitor/
|
||||
- ../features/datasources/azuremonitor/
|
||||
- azuremonitor/
|
||||
- azuremonitor/deprecated-application-insights/
|
||||
description: Guide for using Azure Monitor in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/azure-monitor/query-editor/
|
||||
- ../../data-sources/azure-monitor/query-editor/
|
||||
description: Guide for using the Azure Monitor data source's query editor
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/azuremonitor/template-variables/
|
||||
- /docs/grafana/latest/data-sources/azure-monitor/template-variables/
|
||||
- ../../data-sources/azure-monitor/template-variables/
|
||||
- ../azuremonitor/template-variables/
|
||||
description: Using template variables with Azure Monitor in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/elasticsearch/
|
||||
- /docs/grafana/latest/features/datasources/elasticsearch/
|
||||
- /docs/grafana/latest/data-sources/elasticsearch/
|
||||
- ../data-sources/elasticsearch/
|
||||
- ../features/datasources/elasticsearch/
|
||||
description: Guide for using Elasticsearch in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/elasticsearch/query-editor/
|
||||
- /docs/grafana/latest/data-sources/elasticsearch/template-variables/
|
||||
- ../../data-sources/elasticsearch/query-editor/
|
||||
- ../../data-sources/elasticsearch/template-variables/
|
||||
description: Guide for using the Elasticsearch data source's query editor
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/elasticsearch/template-variables/
|
||||
- /docs/grafana/latest/data-sources/elasticsearch/template-variables/
|
||||
- ../../data-sources/elasticsearch/template-variables/
|
||||
description: Using template variables with Elasticsearch in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/stackdriver/
|
||||
- /docs/grafana/latest/features/datasources/cloudmonitoring/
|
||||
- /docs/grafana/latest/datasources/google-cloud-monitoring/
|
||||
- /docs/grafana/latest/datasources/cloudmonitoring/
|
||||
- /docs/grafana/latest/datasources/google-cloud-monitoring/preconfig-cloud-monitoring-dashboards/
|
||||
- /docs/grafana/latest/data-sources/google-cloud-monitoring/
|
||||
- /docs/grafana/latest/data-sources/google-cloud-monitoring/preconfig-cloud-monitoring-dashboards/
|
||||
- ../data-sources/google-cloud-monitoring/
|
||||
- ../data-sources/google-cloud-monitoring/preconfig-cloud-monitoring-dashboards/
|
||||
- ../features/datasources/cloudmonitoring/
|
||||
- ../features/datasources/stackdriver/
|
||||
- cloudmonitoring/
|
||||
- preconfig-cloud-monitoring-dashboards/
|
||||
description: Guide for using Google Cloud Monitoring in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/google-cloud-monitoring/google-authentication/
|
||||
- /docs/grafana/next/datasources/cloudmonitoring/
|
||||
description: Google authentication
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/google-cloud-monitoring/query-editor/
|
||||
- ../../data-sources/google-cloud-monitoring/query-editor/
|
||||
description: Guide for using the Google Cloud Monitoring data source's query editor
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/google-cloud-monitoring/template-variables/
|
||||
description: Guide for using template variables when querying the Google Cloud Monitoring data source
|
||||
- ../../data-sources/google-cloud-monitoring/template-variables/
|
||||
description: Guide for using template variables when querying the Google Cloud Monitoring
|
||||
data source
|
||||
keywords:
|
||||
- grafana
|
||||
- google
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/graphite/
|
||||
- /docs/grafana/latest/datasources/graphite/
|
||||
- /docs/grafana/latest/data-sources/graphite/
|
||||
- ../data-sources/graphite/
|
||||
- ../features/datasources/graphite/
|
||||
description: Guide for using Graphite in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/graphite/query-editor/
|
||||
- ../../data-sources/graphite/query-editor/
|
||||
description: Guide for using the Graphite data source's query editor
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/graphite/template-variables/
|
||||
- ../../data-sources/graphite/template-variables/
|
||||
description: Guide for using template variables when querying the Graphite data source
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/influxdb/
|
||||
- /docs/grafana/latest/datasources/influxdb/
|
||||
- /docs/grafana/latest/datasources/influxdb/provision-influxdb/
|
||||
- /docs/grafana/latest/data-sources/influxdb/
|
||||
- /docs/grafana/latest/data-sources/influxdb/provision-influxdb/
|
||||
- ../data-sources/influxdb/
|
||||
- ../data-sources/influxdb/provision-influxdb/
|
||||
- ../features/datasources/influxdb/
|
||||
- provision-influxdb/
|
||||
description: Guide for using InfluxDB in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/influxdb/influxdb-flux/
|
||||
- /docs/grafana/latest/datasources/influxdb/query-editor/
|
||||
- /docs/grafana/latest/data-sources/influxdb/query-editor/
|
||||
- ../../data-sources/influxdb/query-editor/
|
||||
- influxdb-flux/
|
||||
description: Guide for Flux in Grafana
|
||||
title: Flux support in Grafana
|
||||
weight: 200
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/influxdb/influxdb-templates/
|
||||
- /docs/grafana/latest/data-sources/influxdb/influxdb-templates/
|
||||
- /docs/grafana/latest/data-sources/influxdb/template-variables/
|
||||
- ../../data-sources/influxdb/influxdb-templates/
|
||||
- ../../data-sources/influxdb/template-variables/
|
||||
- influxdb-templates/
|
||||
description: Guide for template variables in InfluxDB
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/jaeger/
|
||||
- /docs/grafana/latest/datasources/jaeger/
|
||||
- /docs/grafana/latest/data-sources/jaeger/
|
||||
- ../data-sources/jaeger/
|
||||
- ../features/datasources/jaeger/
|
||||
description: Guide for using Jaeger in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/loki/
|
||||
- /docs/grafana/latest/datasources/loki/
|
||||
- /docs/grafana/latest/data-sources/loki/
|
||||
- ../data-sources/loki/
|
||||
- ../features/datasources/loki/
|
||||
description: Guide for using Loki in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/loki/query-editor/
|
||||
- ../../data-sources/loki/query-editor/
|
||||
description: Guide for using the Loki data source's query editor
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/loki/template-variables/
|
||||
- ../../data-sources/loki/template-variables/
|
||||
description: Guide for using template variables when querying the Loki data source
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/mssql/
|
||||
- /docs/grafana/latest/datasources/mssql/
|
||||
- /docs/grafana/latest/data-sources/mssql/
|
||||
- ../data-sources/mssql/
|
||||
- ../features/datasources/mssql/
|
||||
description: Guide for using Microsoft SQL Server in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/mssql/query-editor/
|
||||
- ../../data-sources/mssql/query-editor/
|
||||
description: Guide for using the Microsoft SQL Server data source's query editor
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/mssql/template-variables/
|
||||
- ../../data-sources/mssql/template-variables/
|
||||
description: Using template variables with Microsoft SQL Server in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/mysql/
|
||||
- /docs/grafana/latest/datasources/mysql/
|
||||
- /docs/grafana/latest/data-sources/mysql/
|
||||
- ../data-sources/mysql/
|
||||
- ../features/datasources/mysql/
|
||||
description: Guide for using MySQL in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/opentsdb/
|
||||
- /docs/grafana/latest/features/datasources/opentsdb/
|
||||
- /docs/grafana/latest/datasources/opentsdb/
|
||||
- /docs/grafana/latest/data-sources/opentsdb/
|
||||
- ../data-sources/opentsdb/
|
||||
- ../features/datasources/opentsdb/
|
||||
- ../features/opentsdb/
|
||||
description: Guide for using OpenTSDB in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/parca/
|
||||
- /docs/grafana/latest/features/datasources/parca/
|
||||
description: Continuous profiling for analysis of CPU and memory usage, down to the line number and throughout time. Saving infrastructure cost, improving performance, and increasing reliability.
|
||||
- ../features/datasources/parca/
|
||||
description: Continuous profiling for analysis of CPU and memory usage, down to the
|
||||
line number and throughout time. Saving infrastructure cost, improving performance,
|
||||
and increasing reliability.
|
||||
keywords:
|
||||
- parca
|
||||
- guide
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/phlare/
|
||||
- /docs/grafana/latest/features/datasources/phlare/
|
||||
description: Horizontally-scalable, highly-available, multi-tenant continuous profiling aggregation system. OSS profiling solution from Grafana Labs.
|
||||
- ../features/datasources/phlare/
|
||||
description: Horizontally-scalable, highly-available, multi-tenant continuous profiling
|
||||
aggregation system. OSS profiling solution from Grafana Labs.
|
||||
keywords:
|
||||
- grafana
|
||||
- phlare
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/postgres/
|
||||
- /docs/grafana/latest/datasources/postgres/
|
||||
- /docs/grafana/latest/data-sources/postgres/
|
||||
- ../data-sources/postgres/
|
||||
- ../features/datasources/postgres/
|
||||
description: Guide for using PostgreSQL in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/prometheus/
|
||||
- /docs/grafana/latest/datasources/prometheus/
|
||||
- /docs/grafana/latest/data-sources/prometheus/
|
||||
- ../data-sources/prometheus/
|
||||
- ../features/datasources/prometheus/
|
||||
description: Guide for using Prometheus in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/prometheus/query-editor/
|
||||
- ../../data-sources/prometheus/query-editor/
|
||||
description: Guide for using the Prometheus data source's query editor
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/prometheus/template-variables/
|
||||
- /docs/grafana/latest/data-sources/prometheus/template-variables/
|
||||
- ../../data-sources/prometheus/template-variables/
|
||||
description: Using template variables with Prometheus in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/tempo/
|
||||
- /docs/grafana/latest/datasources/tempo/
|
||||
- /docs/grafana/latest/data-sources/tempo/
|
||||
- ../data-sources/tempo/
|
||||
- ../features/datasources/tempo/
|
||||
description: Guide for using Tempo in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/data-sources/tempo/query-editor/
|
||||
- ../../data-sources/tempo/query-editor/
|
||||
description: Guide for using the Tempo data source's query editor
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/features/datasources/testdata/
|
||||
- /docs/grafana/latest/datasources/testdata/
|
||||
- /docs/grafana/latest/data-sources/testdata/
|
||||
- ../data-sources/testdata/
|
||||
- ../features/datasources/testdata/
|
||||
keywords:
|
||||
- grafana
|
||||
- dashboard
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/datasources/zipkin/
|
||||
- /docs/grafana/latest/data-sources/zipkin/
|
||||
- /docs/grafana/latest/data-sources/zipkin/query-editor/
|
||||
- ../data-sources/zipkin/
|
||||
- ../data-sources/zipkin/query-editor/
|
||||
description: Guide for using Zipkin in Grafana
|
||||
keywords:
|
||||
- grafana
|
||||
|
||||
Reference in New Issue
Block a user