Skip to content

Commit

Permalink
add missing target_Label (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpancham authored Apr 10, 2023
1 parent 8cd4b82 commit d6454d1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions resources/prometheus/remote-write.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ writeRelabelConfigs:
replacement: 'true'
sourceLabels:
- __name__
targetLabel:
-
# WHAT: Reports the pods only for the defined metrics that have tried to be resent to observatorium
- source_labels: kube_pod_.*|container_network_.*|container_memory_.*|container_cpu_.*
separator: ;
regex: (.*)
target_label: pod
replacement: ${1}
action: labelkeep

targetLabel: __tmp_keep

# WHAT: Reports the current amount of Prometheus remote storage shards
- action: replace
Expand Down

0 comments on commit d6454d1

Please sign in to comment.