Skip to content

Commit

Permalink
docs: fix example in prometheus.exporter.agent (#5816) (#5820)
Browse files Browse the repository at this point in the history
(cherry picked from commit 26f4915)

Co-authored-by: Jan-Otto Kröpke <[email protected]>
  • Loading branch information
grafanabot and jkroepke authored Nov 20, 2023
1 parent 528d69e commit e77ac5f
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 e77ac5f

Please sign in to comment.