helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

metric agent metric_relabel_configs issue

Open bruse-peng opened this issue 2 years ago • 2 comments

i install metric agent and i metric_relabel_configs drop the pod start with bff.* but when i open vmui i can still find the pod start with bff.* as blow,what is the problem

  • bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token job_name: kubernetes-nodes-cadvisor-after kubernetes_sd_configs: - role: node metric_relabel_configs: - action: drop regex: bff.* source_labels: - Pod scheme: https tls_config: ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt insecure_skip_verify: true

bruse-peng avatar May 17 '22 16:05 bruse-peng

image

bruse-peng avatar May 17 '22 16:05 bruse-peng

Hello,

- action: drop
regex: bff.*
source_labels:
- Pod

Looks like you should use "pod" instead of "Pod"

Haleygo avatar Jul 20 '23 05:07 Haleygo