Skip to content

Commit

Permalink
docs: fix example in prometheus.exporter.agent (#5816)
Browse files Browse the repository at this point in the history
(cherry picked from commit 26f4915)
  • Loading branch information
jkroepke authored and grafanabot committed Nov 20, 2023
1 parent 41700c3 commit 7e28f77
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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" >}}
[scrape]: {{< relref "./prometheus.scrape.md" >}}

0 comments on commit 7e28f77

Please sign in to comment.