Skip to content

Commit

Permalink
fix: Make the prometheus exporter use the cli fallback parsing
Browse files Browse the repository at this point in the history
Since Slurm changed the output of its json format between versions, the exporter breaks while trying to parse the new format. The `-slurm.cli-fallback` option allows the exporter to pass a custom output format through the `--format` option, which should be more resilient against breaking changes.
  • Loading branch information
jedel1043 committed Jun 11, 2024
1 parent 03763b5 commit feabfb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ apps:
install-mode: disable
after: [munged]
slurm-prometheus-exporter:
command: bin/prometheus-slurm-exporter
command: bin/prometheus-slurm-exporter -slurm.cli-fallback
daemon: simple
install-mode: disable
after: [munged]
Expand Down

0 comments on commit feabfb0

Please sign in to comment.