rivosinc / prometheus-slurm-exporter

Export select slurm metrics to prometheus
Apache License 2.0
26 stars 5 forks source link

Move cache to fetcher #1

Closed abhinavDhulipala closed 11 months ago

abhinavDhulipala commented 11 months ago

Fetchers are deps that need to be shared via dep injection. Doesn't make sense for 1 collector to consume another.

abhinavDhulipala commented 11 months ago

Address code smells and minor errors. I.e timer cleanup for job timeouts, exposing exporter metrics, and fixing dep injection code smell.