13 Commits

Author SHA1 Message Date
illustris
8c761d8c96 update READEM.md to match renamed metrics in code 2026-03-22 07:59:33 +05:30
illustris
6495953dc7 add disclaimer 2026-03-22 07:46:45 +05:30
illustris
9c2b1bf384 pve_kvm -> pve_kvm_info 2026-03-13 08:13:09 +05:30
illustris
8d9007632a Fix QEMU process discovery when binary is replaced on disk
Linux appends " (deleted)" to /proc/{pid}/exe when the binary has been
replaced (common after PVE/QEMU package upgrades while VMs remain
running). The exact string match rejected all running QEMU processes,
resulting in zero VM metrics.
2026-03-12 20:12:38 +05:30
illustris
ac2ac7a27c add trace logging 2026-03-12 19:39:35 +05:30
illustris
f15d0a90c8 fix disk info on pve 9.x 2026-03-12 16:27:48 +05:30
illustris
0ba7c190f8 fix disk info collection 2026-03-12 16:03:36 +05:30
illustris
3808e3b672 add _info suffix to info metrics 2026-03-12 15:41:47 +05:30
illustris
e9b60a3af6 Switch qm monitor I/O from pipes to PTY using creack/pty
qm monitor requires a TTY to emit its prompt; the pipe-based approach
missed prompt detection on some hosts. Replace with pty.Start, refactor
readUntilMarker to scan byte-by-byte with deadline goroutine, and add
parseQMResponse to strip command echo and \r artifacts. Add unit tests
for the new reader and parser functions.
2026-03-12 09:52:26 +00:00
illustris
00404095b9 follow Prometheus best practices: metric renames, counter types, build_info, scrape duration 2026-03-12 13:21:50 +05:30
illustris
f332a2f6ac add MIT license 2026-03-12 12:51:40 +05:30
illustris
def7d3e086 improvements
- Consolidate status reads
- Pre-allocate descriptors
- Add read_only disk label
- Remove dead stdin field
- Guard nil pool maps
- Add error-path tests
- Add go vet to flake
2026-03-12 12:47:50 +05:30
illustris
d8f4a77657 init 2026-03-11 15:01:20 +05:30