From 862561dad80cbbdaa296d9216cf0b2726b31df7a Mon Sep 17 00:00:00 2001 From: Clayton Cornell Date: Mon, 23 Oct 2023 10:50:30 -0700 Subject: [PATCH] Update relrefs in start and macos topics --- docs/sources/flow/setup/configure/configure-macos.md | 5 ++++- docs/sources/flow/setup/start-agent.md | 9 +++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/sources/flow/setup/configure/configure-macos.md b/docs/sources/flow/setup/configure/configure-macos.md index 8f3e3529f65a..ee9bf74dbf79 100644 --- a/docs/sources/flow/setup/configure/configure-macos.md +++ b/docs/sources/flow/setup/configure/configure-macos.md @@ -80,4 +80,7 @@ To expose the UI to other machines, complete the following steps: To listen on all interfaces, replace `127.0.0.1` with `0.0.0.0`. -[UI]: {{< relref "../../monitoring/debugging.md#grafana-agent-flow-ui" >}} +{{% docs/reference %}} +[UI]: "/docs/agent/ -> /docs/agent//flow/monitoring/debugging.md#grafana-agent-flow-ui" +[UI]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/monitor-infrastructure/agent/flow/monitoring/debugging.md#grafana-agent-flow-ui" +{{% /docs/reference %}} diff --git a/docs/sources/flow/setup/start-agent.md b/docs/sources/flow/setup/start-agent.md index a09dfb2e72e9..b76f728732a9 100644 --- a/docs/sources/flow/setup/start-agent.md +++ b/docs/sources/flow/setup/start-agent.md @@ -107,8 +107,8 @@ brew services stop grafana-agent-flow By default, logs are written to `$(brew --prefix)/var/log/grafana-agent-flow.log` and `$(brew --prefix)/var/log/grafana-agent-flow.err.log`. -If you followed [Configure the Grafana Agent service]({{< relref "./configure/configure-macos#configure-the-grafana-agent-service" >}}) -and changed the path where logs are written, refer to your current copy of the Grafana Agent formula to locate your log files. +If you followed [Configure the Grafana Agent service][] and changed the path where logs are written, +refer to your current copy of the Grafana Agent formula to locate your log files. ## Windows @@ -249,3 +249,8 @@ These steps assume you have a default systemd and Grafana Agent configuration. 1. Use the [Linux](#linux) systemd commands to manage your standalone Linux installation of Grafana Agent. [release]: https://github.com/grafana/agent/releases/latest + +{{% docs/reference %}} +[Configure the Grafana Agent service]: "/docs/agent/ -> /docs/agent//flow/setup/configure/configure-macos.md#configure-the-grafana-agent-service" +[Configure the Grafana Agent service]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/monitor-infrastructure/agent/flow/setup/configure/configure-macos.md#configure-the-grafana-agent-service" +{{% /docs/reference %}}