Memory Health Probe
QMD memory system telemetry — measure index health, BM25 retrieval quality, coverage maps, and trend analysis. Use when running QMD memory backend and need d...
Latest: v1.0.1
Clarify security_notes: base64 is local telemetry encoding, not external transmission
Full description
QMD memory system telemetry — measure index health, BM25 retrieval quality, coverage maps, and trend analysis. Use when running QMD memory backend and need diagnostics on retrieval quality, index freshness, or collection coverage.
Memory Health Probe
Telemetry for QMD memory systems. Measures index health, retrieval quality, and coverage to catch degradation before it affects agent performance.
Metrics Captured
- Index health — file count, chunk count, index size, staleness
- BM25 quality — hit rate + score distribution over canonical queries
- Gateway events — session-memory saves, QMD armed events
- Coverage map — which collections are hit for which query categories
Usage
python3 scripts/memory_probe.py # Run probe, log to Langfuse
python3 scripts/memory_probe.py --dry-run # Print results only
python3 scripts/memory_probe.py --trend # Show trend over stored snapshots
Files
scripts/memory_probe.py— Probe script with Langfuse integration
