Replies: 1 comment 1 reply
-
Hi @robgics Yes, this is available: https://pyslurm.github.io/23.2/reference/statistics/ As the documentation states on that page, this is for now just available in the "old" API, and will also be reworked at some point (like the Job or Node classes for example, which are already done) - That shouldn't be too hard, and I have already some other So for now, you can do: import pyslurm
stats = pyslurm.statistics().get()
As said: it is planned to rework this and move away from returning a dict with undocumented data, and rather use properly documented instance attributes. But using |
Beta Was this translation helpful? Give feedback.
-
We're using pyslurm solely for data capture to be able to easily view trends in grafana. It's working great for job and node data. But now we're looking to get some of the sdiag data out of slurm to get a view of overall performance. I cannot find an interface in pyslurm to get that. Am I missing it, or is it planned to be added, or something else?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions