Skip to content

Commit

Permalink
Merge pull request #2751 from aws-observability/fix/configescape
Browse files Browse the repository at this point in the history
fix missing escape of $ on replacement placeholders
  • Loading branch information
Aneurysm9 authored Jun 21, 2024
2 parents bedc840 + 82f746d commit ead275d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/eks/prometheus/config-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ receivers:
- source_labels: [ __address__ ]
action: replace
regex: ([^:]+)(?::\d+)?
replacement: ${1}:2020
replacement: $${1}:2020
target_label: __address__
- action: labelmap
regex: __meta_kubernetes_pod_label_(.+)
Expand Down
2 changes: 1 addition & 1 deletion config/eks/prometheus/config-haproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ receivers:
- source_labels: [ __address__ ]
action: replace
regex: ([^:]+)(?::\d+)?
replacement: ${1}:2020
replacement: $${1}:2020
target_label: __address__
- action: labelmap
regex: __meta_kubernetes_pod_label_(.+)
Expand Down

0 comments on commit ead275d

Please sign in to comment.