Skip to content

Commit

Permalink
docs: fix example in prometheus.exporter.agent (#5816) (#5819)
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 41700c3 commit a3de5a3
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 a3de5a3

Please sign in to comment.