A recording rule is going to be tricky to do because the instance label needs to match.
I usually recommend doing this by Julius's other suggestion, the node_exporter textfile collector. This makes it easy to integrate the "ignore this interface" metric into your configuration management on the node. On Mon, Apr 20, 2020 at 5:13 PM Yagyansh S. Kumar <[email protected]> wrote: > Sorry, I didn't notice, that I have forgot to share the configuration of > the recording rule. I thought I have pasted it. > Anyways, you could have pointed that our nicely too. > > On Monday, April 20, 2020 at 3:34:41 PM UTC+5:30, Brian Candler wrote: >> >> Please think carefully about what you've just written. What you've said >> in effect is: >> >> "My configuration isn't working. Please help me. But I'm not going to >> show you my configuration. I'm also not going to tell you what unexpected >> behaviour I'm seeing. I want you to guess what the problem might be." >> >> This is not an effective use of our time, so don't be surprised if nobody >> helps you. There's really good advice about how to ask questions >> effectively here: >> http://www.catb.org/~esr/faqs/smart-questions.html#intro >> >> If you are not prepared to share your configs, and you are only looking >> for sample working ones to guide you, then the link already posted has them: >> https://www.robustperception.io/using-time-series-as-alert-thresholds >> >> -- > 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/944a5e49-2d7f-4202-8454-095a0799783b%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/944a5e49-2d7f-4202-8454-095a0799783b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CABbyFmo_nwr%2B_Q-2BOAit0m5-Lu8Zw2iS%3DXcmy0m56mOjwA%3Dfg%40mail.gmail.com.

