miroir/tests
jedarden 5f9ee20eeb P7.1: Core metrics families acceptance tests
Add accessor methods for request metrics (duration, total) to enable
testing of histogram/counter metrics that require samples to appear
in Prometheus output.

Fix p7_1_core_metrics.rs test to:
- Use new accessor methods to record request metric samples
- Check for HELP/TYPE metadata in addition to data lines
- Relax histogram bucket format check to verify non-zero count

All 18 core plan §10 metrics are verified:
- Requests: duration, total, in_flight
- Node health: healthy, request_duration, errors_total
- Shards: coverage, degraded_shards_total, distribution
- Tasks: processing_age, total, registry_size
- Scatter-gather: fan_out_size, partial_responses_total, retries_total
- Rebalancer: in_progress, documents_migrated_total, duration_seconds

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 02:29:28 -04:00
..
benches/score-comparability miroir-zc2.5: Fix dump import compatibility matrix enhancement bead refs 2026-05-20 07:18:56 -04:00
fixtures miroir-zc2.5: Fix dump import compatibility matrix enhancement bead refs 2026-05-20 07:18:56 -04:00
verify_p7_1_core_metrics.sh P7.1: Core metrics families acceptance tests 2026-05-23 02:29:28 -04:00