Skip to content

Commit 77671dd

Browse files
jkroepkegrafanabot
authored andcommitted
docs: fix example in prometheus.exporter.agent (#5816)
(cherry picked from commit 26f4915)
1 parent 528d69e commit 77671dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sources/flow/reference/components/prometheus.exporter.agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This example uses a [`prometheus.scrape` component][scrape] to collect metrics
4545
from `prometheus.exporter.agent`:
4646

4747
```river
48-
prometheus.exporter.agent "agent" {}
48+
prometheus.exporter.agent "example" {}
4949
5050
// Configure a prometheus.scrape component to collect agent metrics.
5151
prometheus.scrape "demo" {
@@ -69,4 +69,4 @@ Replace the following:
6969
- `USERNAME`: The username to use for authentication to the remote_write API.
7070
- `PASSWORD`: The password to use for authentication to the remote_write API.
7171

72-
[scrape]: {{< relref "./prometheus.scrape.md" >}}
72+
[scrape]: {{< relref "./prometheus.scrape.md" >}}

0 commit comments

Comments
 (0)