From bae6bacced419879c5d3717c3db749fdb9050bd0 Mon Sep 17 00:00:00 2001 From: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> Date: Tue, 21 May 2024 10:19:15 -0700 Subject: [PATCH] Fix 404 errors and bad canonical URLs in Agent docs (#6919) * Remove link that fails between Static and Flow * Correvy bad canonical URL * Correct bad canonical URL (cherry picked from commit 7ebd28584957c2c850a4a758a23df9313374880a) --- docs/sources/flow/concepts/custom_components.md | 2 +- docs/sources/flow/tasks/metamonitoring.md | 2 +- docs/sources/shared/wal-data-retention.md | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/sources/flow/concepts/custom_components.md b/docs/sources/flow/concepts/custom_components.md index 8d7fff13f6ac..102e6fdcf10f 100644 --- a/docs/sources/flow/concepts/custom_components.md +++ b/docs/sources/flow/concepts/custom_components.md @@ -5,7 +5,7 @@ aliases: - /docs/grafana-cloud/monitor-infrastructure/agent/flow/concepts/custom-components/ - /docs/grafana-cloud/monitor-infrastructure/integrations/agent/flow/concepts/custom-components/ - /docs/grafana-cloud/send-data/agent/flow/concepts/custom-components/ -canonical: https://grafana.com/docs/agent/latest/flow/concepts/custom-components/ +canonical: https://grafana.com/docs/agent/latest/flow/concepts/custom_components/ description: Learn about custom components title: Custom components weight: 300 diff --git a/docs/sources/flow/tasks/metamonitoring.md b/docs/sources/flow/tasks/metamonitoring.md index 83452ebd5e89..4839fb4986d0 100644 --- a/docs/sources/flow/tasks/metamonitoring.md +++ b/docs/sources/flow/tasks/metamonitoring.md @@ -1,5 +1,5 @@ --- -canonical: https://grafana.com/docs/agent/latest/flow/tasks/setup-metamonitoring/ +canonical: https://grafana.com/docs/agent/latest/flow/tasks/metamonitoring/ description: Learn how to set up meta-monitoring for Grafana Agent Flow title: Set up meta-monitoring weight: 200 diff --git a/docs/sources/shared/wal-data-retention.md b/docs/sources/shared/wal-data-retention.md index e7fa38871801..8e6c597e53ef 100644 --- a/docs/sources/shared/wal-data-retention.md +++ b/docs/sources/shared/wal-data-retention.md @@ -92,7 +92,7 @@ Deleting a WAL segment or a WAL file permanently deletes the stored WAL data. To delete the corrupted WAL: -1. [Stop][] Grafana Agent. +1. Stop Grafana Agent. 1. Find and delete the contents of the `wal` directory. By default the `wal` directory is a subdirectory @@ -107,10 +107,9 @@ To delete the corrupted WAL: * `prometheus.remote_write` component running in Flow mode {{< /admonition >}} -1. [Start][Stop] Grafana Agent and verify that the WAL is working correctly. +1. Start Grafana Agent and verify that the WAL is working correctly. [WAL block]: /docs/agent//flow/reference/components/prometheus.remote_write#wal-block [metrics config]: /docs/agent//static/configuration/metrics-config -[Stop]: /docs/agent//flow/get-started/start-agent [wal_directory]: /docs/agent//static/configuration/metrics-config [run]: /docs/agent//flow/reference/cli/run