Skip to content

Commit

Permalink
Undo pod-logs change
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanGuedes committed Feb 21, 2024
1 parent 2af00ec commit e0095d9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions production/helm/loki/templates/monitoring/pod-logs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,18 @@ spec:
- action: labelmap
regex: __meta_kubernetes_pod_label_(.+)
- action: replace
regex: "(.*)"
replacement: "($1)"
replacement: "$1"
separator: "-"
sourceLabels:
- __meta_kubernetes_namespace
targetLabel: __job_namespace__
- __meta_kubernetes_pod_label_app_kubernetes_io_name
- __meta_kubernetes_pod_label_app_kubernetes_io_component
targetLabel: __service__
- action: replace
replacement: "$1"
separator: "/"
sourceLabels:
- __job_namespace__
- __meta_kubernetes_pod_label_app_kubernetes_io_component
- __meta_kubernetes_namespace
- __service__
targetLabel: job
- action: replace
sourceLabels:
Expand Down

0 comments on commit e0095d9

Please sign in to comment.