(Please don't post screenshot images - they are hard to read, and impossible to copy-paste from)
What are you trying to do? Your rewriting config says: 1. If the label name is "up", then keep the metric. 2. Otherwise, keep the metric. (This is the default if you reach the end of the ruleset) Hence it does nothing: it keeps all metrics. On Monday, 18 April 2022 at 09:56:35 UTC+1 [email protected] wrote: > UP metrics is inner metrics. > But why can't it be rewrite? > Is there any mistake? > [image: 微信图片_20220418164419.png] > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/cc868261-ad59-4e51-8e43-b6701b927b7fn%40googlegroups.com.

