add prometheus exporter + test suite

- prometheus-exporter.py: stdlib-only HTTP metrics on :9090/metrics
- Exposes: ALSA status, hw_ptr rate, service health, mixer controls
- MIDI counters: notes_on, notes_off, errors
- test-unit.py: 10-test suite covering full MIDI→Pd→Audio pipeline
- test-tone.pd, test-midi-log.pd: minimal debug patches
- systemd service for exporter
- install.sh/deploy updated to include exporter
This commit is contained in:
2026-06-24 02:22:05 -07:00
parent 3cc497f632
commit 163ad4145b
10 changed files with 638 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
#N canvas 50 50 400 300 10;
#X obj 50 50 osc~ 440;
#X obj 50 90 *~ 0.3;
#X obj 50 130 dac~;
#X text 50 30 TEST: 440Hz tone direct to DAC (no MIDI);
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 0 2 1;