simple-slurm-json-exporter

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2026 License: MIT Imports: 16 Imported by: 0

README

simple-slurm-json-exporter

Exposes JSON output of Slurm commands via basic HTTP server for scraping.

There are several good Slurm Prometheus exporters already out there. However, I needed more generic data returned that were not necessarily counters. And I didn't want to setup slurmrestd.

This simple Go application exposes the output of select Slurm commands (at this time, only squeue is supported) via JSON. This is done by simply using the "--json" flag and returning the output to the HTTP process for scraping.

I use this in conjunction with Grafana's Infinity Data Source to display statistics on dashboards.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL