Skip to content

Commit

Permalink
docs: Fix invalid references to targets in discovery.relabel (#3153)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalab authored Apr 1, 2024
1 parent 4df8fd2 commit 65be0e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ discovery.relabel "agent" {
pyroscope.ebpf "instance" {
forward_to = [pyroscope.write.endpoint.receiver]
targets = discovery.relabel.agent.targets
targets = discovery.relabel.agent.output
}
pyroscope.scrape "local" {
Expand Down
2 changes: 1 addition & 1 deletion docs/sources/configure-client/grafana-agent/go_pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ pyroscope.write "write_job_name" {
}
```

3. Use `discovery.relabel.specific_pods.targets` as a target for `pyroscope.scrape` block.
3. Use `discovery.relabel.specific_pods.output` as a target for `pyroscope.scrape` block.

```river
pyroscope.scrape "scrape_job_name" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ discovery.relabel "specific_pods" {

pyroscope.ebpf "instance" {
forward_to = [pyroscope.write.endpoint.receiver]
targets = discovery.relabel.specific_pods.targets
targets = discovery.relabel.specific_pods.output
}

pyroscope.write "endpoint" {
Expand Down

0 comments on commit 65be0e0

Please sign in to comment.