Skip to content

Commit 1be43f7

Browse files
authored
examples: fix k8s config mistake (#3051)
1 parent 75db8b0 commit 1be43f7

File tree

1 file changed

+2
-2
lines changed
  • examples/grafana-agent-auto-instrumentation/ebpf/k8s

1 file changed

+2
-2
lines changed

examples/grafana-agent-auto-instrumentation/ebpf/k8s/config.river

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ discovery.kubernetes "local_pods" {
1010
}
1111

1212
discovery.relabel "specific_pods" {
13-
targets = discovery.kubernetes.all_pods.targets
13+
targets = discovery.kubernetes.local_pods.targets
1414
rule {
1515
action = "drop"
1616
regex = "Succeeded|Failed|Completed"
@@ -65,4 +65,4 @@ pyroscope.write "endpoint" {
6565
// username = "<Grafana Cloud User>"
6666
// password = "<Grafana Cloud Password>"
6767
// }
68-
}
68+
}

0 commit comments

Comments
 (0)