Skip to content

Commit

Permalink
Fixed bad prometheus config. (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhittaker authored Nov 7, 2023
1 parent 291bb9c commit cb12206
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/telemetry/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ data:
- job_name: "serviceweaver"
kubernetes_sd_configs:
- role: pod
relabel_configs:
# https://stackoverflow.com/a/67100381/3187068
- source_labels: [__address__]
action: replace
regex: ([^:]+):.*
replacement: $1:9090
target_label: __address__
---

Expand Down

0 comments on commit cb12206

Please sign in to comment.