Skip to content

Commit

Permalink
fix(docs): update grafana-agent example
Browse files Browse the repository at this point in the history
  • Loading branch information
korniltsev committed May 30, 2023
1 parent d6ab3f5 commit 482fedb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/grafana-agent/agent/config/config.river
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
phlare.write "example" {
pyroscope.write "example" {
// Send metrics to a locally running Phlare instance.
endpoint {
url = "http://pyroscope:4100"
Expand All @@ -15,10 +15,10 @@ phlare.write "example" {
}


phlare.scrape "default" {
pyroscope.scrape "default" {
targets = [
{"__address__" = "pyroscope:4100", "app"="pyroscope"},
{"__address__" = "agent:12345", "app"="agent"},
]
forward_to = [phlare.write.example.receiver]
forward_to = [pyroscope.write.example.receiver]
}

0 comments on commit 482fedb

Please sign in to comment.