feature:prometheus新增获取traffic-engine pod的component标签

This commit is contained in:
fumingwei
2023-12-27 18:53:52 +08:00
parent 59bea803ef
commit c6befa641d

View File

@@ -158,6 +158,10 @@ spec:
action: replace
target_label: vsysId
regex: (.+)
- source_labels: [__meta_kubernetes_pod_label_component]
action: replace
target_label: component
regex: (.+)
- source_labels: [__meta_kubernetes_pod_phase]
regex: Pending|Succeeded|Failed|Completed