prometheus-slurm-exporter
prometheus-slurm-exporter copied to clipboard
Support for OUT_OF_MEMORY job state
A quick patch to support OUT_OF_MEMORY job state - visibility of which is especially useful when task/cgroup
plugin is used with ConstrainRAMSpace=YES
option (in such case cgroup will oomkill the job if it exceeds requested memory)
Can we prioritize this for merging please?
Can we prioritize this for merging please?
My main issue with this PR is that most of the changes are due to poor formatting:
- Change in
NewQueueCollector()
is basically only one line but the commit will re-write the entire function block. - Same goes for the QueueCollector
struct
: only one line needs to be changed not the entire structure.
Hey, fixed the indentation / formatting as requested.