Git Product home page Git Product logo

Comments (3)

samber avatar samber commented on August 28, 2024

Should be better if we exclude this specific fstype:

predict_linear(node_filesystem_free_bytes{fstype!~"tmpfs"}[1h], 4 * 3600) < 0

from awesome-prometheus-alerts.

paulfantom avatar paulfantom commented on August 28, 2024

That's unfortunate. tmpfs is frequently used for directories which should be pruned on node reboot, but filling them up during operations can cause problems with system. A good example is a website which allows uploading files. By default webserver will use a temporary directory for storing uploaded chunks, which then will be copied as a file to a target directory. So if you fill up temporary dir, you should have alert as this won't allow for future uploads and impact site. Another example would be to have /var/log as tmpfs when you have a centralized log solution.
Those are the reasons why in official node_exporter mixins fstype is a configurable option and why hardcoded exclusion of tmpfs shouldn't be implemented.

from awesome-prometheus-alerts.

paulfantom avatar paulfantom commented on August 28, 2024

@xixipangma why not exclude that mountpoint from node_exporter with collector.filesystem.ignored-fs-types or collector.filesystem.ignored-mount-points?

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.