Code Monkey home page Code Monkey logo

Comments (4)

ncabatoff avatar ncabatoff commented on July 23, 2024

I've thought about adding this functionality before. The complication (as I expound on in #3) is that since we're tracking process groups, not individual processes, how do we usefully represent the limits as an aggregate? For open FDs, we can just sum, but if you sum all the FD limits that doesn't give you much sense as to how close any individual procs in the group are getting to their limit. I'll look into adding the worstFdRatio metric I discussed in that PR soon.

from process-exporter.

ncabatoff avatar ncabatoff commented on July 23, 2024

I've pushed a lightly tested implementation of worstFdRatio. I don't have time to build a new release right now but I'll try to get one out soon.

from process-exporter.

lleontop avatar lleontop commented on July 23, 2024

Thank you for the fast support! I build it locally and it seems to work! Though when tracking a single process or processes of the same exe/comm, it does makes sense to report maxFDs right (and the maxFDs will be the same as the first process of the group correct)? Thank you again!

from process-exporter.

ncabatoff avatar ncabatoff commented on July 23, 2024

Sure, it would make sense if you knew that you'd never have more than a single process in a group. I don't understand the rest of your question, i.e. the "or process of the same exe/comm" anad the "maxFDs will be the same as the first process of the group". There's no well defined "first" process in a group in the context of process-exporter. Anyway I think it's moot since I don't plan to add a maxFD metric, I'd like all metrics to be applicable for any groups monitored.

I'll close this issue once I've updated the docs and created a release containing it.

from process-exporter.

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.