GithubHelp home page GithubHelp logo

Comments (5)

samber avatar samber commented on May 19, 2024 1

Oh! I see. 😲
I had this trouble in the past as well.

Let me think about that. I will get back to you in a few days. 🤔

from awesome-prometheus-alerts.

samber avatar samber commented on May 19, 2024 1

@BenjaminHerbert I just discovered a metric: prometheus_rule_evaluation_failures_total. This counter tell you when a rule fail to be executed, leading to ignored alerts.

expr: increase(prometheus_rule_evaluation_failures_total) > 0

from awesome-prometheus-alerts.

samber avatar samber commented on May 19, 2024

Using this query, you detect an absent job in prometheus.yml. Not a killed exporter.

What is your use case ?

from awesome-prometheus-alerts.

BenjaminHerbert avatar BenjaminHerbert commented on May 19, 2024

My question concerns the absence of particular metrics and if it might be helpful for users to see an example for this. Up was just an example for a metric. My use case was creating alerts for failing or missing backup attempts with velero.
The alerts did not fire, as the metric I was using was renamed. Adding a check for absent(metric{job=myname}) prevents that such alerts break due to metrics going missing or due to alerting on metrics that do not exist.

What do you think?

from awesome-prometheus-alerts.

samber avatar samber commented on May 19, 2024

Hi @BenjaminHerbert

Sorry for the delay.

This is a chicken and egg problem: how to monitor the monitoring platform ? 😱

I think there are 3 things you can do:

If there is no changelog, just pray... 🙏 🤣

Adding an alert for each metric used by your alerting system (such as absent(node_memory_MemAvailable_bytes)) is probably over engineering.

Closing this issue. Feel free to open it again if necessary ;)

from awesome-prometheus-alerts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.