diff --git a/docs/sources/flow/reference/components/prometheus.exporter.agent.md b/docs/sources/flow/reference/components/prometheus.exporter.agent.md index 92ac0b31a860..31fa5a83b1ca 100644 --- a/docs/sources/flow/reference/components/prometheus.exporter.agent.md +++ b/docs/sources/flow/reference/components/prometheus.exporter.agent.md @@ -42,7 +42,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" { @@ -66,4 +66,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" >}}