{"repo":"rivosinc/prometheus-slurm-exporter","free":true,"listed":false,"github":"https://github.com/rivosinc/prometheus-slurm-exporter","clone":"git clone https://github.com/rivosinc/prometheus-slurm-exporter.git","description":"Export select slurm metrics to prometheus","language":"Go","stars":68,"topics":["prometheus","prometheus-exporter","slurm"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Slurm Exporter Inspired by the now unmaintained prometheus slurm exporter. We implement in some form or another, most of the metrics from the previously maintained exporter. We have not yet added GPU or fairshare support, although we will be more than happy to accept contributions for those. This exporter supports --json output from cli. Note that the plugin supported is openapi/v0.0.37 not data parser , which ships with the most modern version of slurm. While in production we've found that the cli fallback (defining a custom json format from the slurm cmdline) performs far better and more reliably than parsing with the slurm provided json output. Thus, this is now the default mode of deployment as it also doesn't require any compiled plugins. We are keeping the openapi support for slurmrestd support in the future. We also support client-side throttling. In practice, users can have multiple prometheus instances polling the same exporter without worrying about overwhelming slurmctld. The final addition we've added is tracing support. If enabled, users can publish process stats for their jobs and track alloc vs live usage for profiling and optimization consideration. Getting Started Golang = 1.20 is required. From there, follow the justfile or run just prod to start a dev server. You can also install the exporter directly with go install github.com/rivosinc/prometheus-slurm-exporter@latest . Then you can run prometheus-slurm-exporter -h . Example prometheus config: We've also u","default_branch":null,"files":null,"tree":[],"storefront":"/r/rivosinc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rivosinc/prometheus-slurm-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}