Skip to content

Commit

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

0 comments on commit 26f4915

Please sign in to comment.