Code Monkey home page Code Monkey logo

Comments (3)

mtds avatar mtds commented on September 18, 2024 1

It is theoretically possible but slightly tricky: we would have to filter the partition names every time (any admin can decide to partition the cluster in multiple 'slices') before running the 'squeue' commands.

This will bloat the code greatly......What we can do is add a command line option to filter the partition name. In this case the exporter will extract only the data related to a certain partition, including its jobs.

In this case you'll have to run multiple exporters (in theory for every partition) and just the listening
port with the command line flag.

I can try to add this feature in the coming weeks but I cannot say for sure when I'll be able to deliver it.

Regards,
Matteo

from prometheus-slurm-exporter.

collinmccarthy avatar collinmccarthy commented on September 18, 2024 1

Hi,

I have a closely related if not identical question. I want to essentially create a table in the Grafana dashboard that has all of the squeue information. We only have a single partition if that's an issue. Is this possible with the current code base, or would it require a significant update?

Thank you,
Collin

from prometheus-slurm-exporter.

mtds avatar mtds commented on September 18, 2024

If any of you are still interested in these functionalities, you should check our latest commits.

Now this exporter is able to provide the following additional info:

  • Running/suspended Jobs per partitions, divided between Slurm accounts and users.
  • CPUs total/allocated/idle per partition plus used CPU per userid.

from prometheus-slurm-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.