Add missing Prometheus metrics to the /multi-search endpoint: - miroir_multisearch_queries_per_batch: histogram tracking query count per batch - miroir_multisearch_batches_total: counter for total batches processed - miroir_multisearch_partial_failures_total: counter for batches with >=1 failed query The core MultiSearchExecutor and HTTP endpoint were already implemented. This commit completes the observability requirements from plan §13.11. All acceptance criteria covered by existing tests: - 5-query batch: test_five_query_batch_all_complete - Parallel execution: test_slow_query_doesnt_block_fast_queries - 100-query batch: test_large_batch_completes - Partial failure: test_partial_failure_one_error Closes: miroir-uhj.11 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| miroir-core | ||
| miroir-ctl | ||
| miroir-proxy | ||