最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

prometheus - Drop labels of a metric not entire job - Stack Overflow

programmeradmin2浏览0评论

I am new to Prometheus and relabeling. I am working with a job 'A' which has a lot of metrics and one of these metrics 'B' has 150 labels. Of these 150 labels I only want to keep 3 (D,E,F) and drop the rest. But I want to make sure that my relabeling rule only affects this one metric series 'B' and not the entire job.

How can I achieve this?

I tried drop and labeldrop but they affect the whole series or job.

发布评论

评论列表(0)

  1. 暂无评论