Code Monkey home page Code Monkey logo

Comments (3)

ncabatoff avatar ncabatoff commented on July 23, 2024

These are good suggestions; the only one I think doesn't make sense is peak resident size, since you can get that by querying the history stored in prometheus (and over whatever interval you're interested in.)

CPU user/system and major/minor page faults are easy.

As to context switches and per-thread metrics, they're not currently supported by prometheus/procfs, which is the library I'm using right now to fetch the stats. Not necessarily a dealbreaker, but let's make that a different issue (#17) since it'll be more involved and I'd rather knock off the easy ones first.

Finally, wchan: what did you have in mind here? A metric namegroup_num_threads_waiting{groupname, wchan}? That makes me a little nervous in terms of how many different wchan values there might be, this could be a very big metric cardinality-wise.

from process-exporter.

stefanodoni avatar stefanodoni commented on July 23, 2024

Hi,

Thanks for the answer!

Ok I see the procfs issue, make sense to start on the process metrics first.

On the wchan: Yes I would like to have the count of waiting threads for a specific process by waiting channel. In my experience, wchans are not so huge in number and are very useful in tracking down certain bottlenecks.

If you think the cardinality may be too high, this could perhaps be an option that is off by default.

Do you plan to support the CPU and faults metrics anytime soon?

Thanks!

from process-exporter.

ncabatoff avatar ncabatoff commented on July 23, 2024

CPU and faults metrics are added. I've created #18 for your wchan feature request.

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.