任务是将永久标签k8s_cluster=state添加到帮助图表victoria-metrics-agent,我尝试通过extraLabels添加它,但它仅添加到pod,deployment等。vmagent I use helm chart https://github.com/VictoriaMetrics/helm-charts
任务是将永久标签k8s_cluster=state添加到帮助图表victoria-metrics-agent,我尝试通过extraLabels添加它,但它仅添加到pod,deployment等。vmagent I use helm chart https://github.com/VictoriaMetrics/helm-charts
1条答案
按热度按时间xvw2m8pv1#
您是否尝试过使用以下标志配置vmagent:
https://docs.victoriametrics.com/vmagent.html#adding-labels-to-metrics