From e77ac5f3e2383347a092ed1fcd697b178d69f42c Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Mon, 20 Nov 2023 20:58:04 +0000 Subject: [PATCH] docs: fix example in prometheus.exporter.agent (#5816) (#5820) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 26f49155e289cb957b01550212c2ad2c78ec73ab) Co-authored-by: Jan-Otto Kröpke --- .../flow/reference/components/prometheus.exporter.agent.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/flow/reference/components/prometheus.exporter.agent.md b/docs/sources/flow/reference/components/prometheus.exporter.agent.md index e9a5c3061e95..7b2245fbd652 100644 --- a/docs/sources/flow/reference/components/prometheus.exporter.agent.md +++ b/docs/sources/flow/reference/components/prometheus.exporter.agent.md @@ -45,7 +45,7 @@ This example uses a [`prometheus.scrape` component][scrape] to collect metrics from `prometheus.exporter.agent`: ```river -prometheus.exporter.agent "agent" {} +prometheus.exporter.agent "example" {} // Configure a prometheus.scrape component to collect agent metrics. prometheus.scrape "demo" { @@ -69,4 +69,4 @@ Replace the following: - `USERNAME`: The username to use for authentication to the remote_write API. - `PASSWORD`: The password to use for authentication to the remote_write API. -[scrape]: {{< relref "./prometheus.scrape.md" >}} \ No newline at end of file +[scrape]: {{< relref "./prometheus.scrape.md" >}}