A small but meaningful correctness fix for the Prometheus exporter.
🐛 Fixed
- The multi-label gauges (
homelab_container_state,homelab_systemd_unit_state,homelab_model_loaded_vram_mb,homelab_host_disk_used_pct, and the GPU gauges) are now.clear()-ed before each scrape, so stale label combinations no longer linger. A container that goesrunning → exited, an unmounted disk, an unloaded model, or a removed systemd unit now disappears from the next scrape instead of being reported forever at its last value. (#6)
🙌 Thanks
Fix by @turfin-logic in #7 — their second contribution. 🎉
Full changelog: v0.4.0...v0.4.1