Skip to content

Commit

Permalink
Fix 404 errors and bad canonical URLs in Agent docs (#6919)
Browse files Browse the repository at this point in the history
* Remove link that fails between Static and Flow

* Correvy bad canonical URL

* Correct bad canonical URL

(cherry picked from commit 7ebd285)
  • Loading branch information
clayton-cornell authored and grafanabot committed May 21, 2024
1 parent 6e3c0c2 commit bae6bac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/sources/flow/concepts/custom_components.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/flow/tasks/metamonitoring.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 2 additions & 3 deletions docs/sources/shared/wal-data-retention.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/<AGENT_VERSION>/flow/reference/components/prometheus.remote_write#wal-block
[metrics config]: /docs/agent/<AGENT_VERSION>/static/configuration/metrics-config
[Stop]: /docs/agent/<AGENT_VERSION>/flow/get-started/start-agent
[wal_directory]: /docs/agent/<AGENT_VERSION>/static/configuration/metrics-config
[run]: /docs/agent/<AGENT_VERSION>/flow/reference/cli/run

0 comments on commit bae6bac

Please sign in to comment.