miroir/crates/miroir-proxy
jedarden e092164e70 P7.5.b: flatten JSON event fields for §10 schema compliance
Add `.flatten_event(true)` to tracing-subscriber JSON layers so event
fields (message, index, duration_ms, node_count, estimated_hits,
degraded) appear at the top level of each JSON log line, matching the
flat schema specified in plan §10.

Also add a proper unit test for SearchRequestBody Debug redaction
(previously a placeholder) confirming that query strings and filter
values are replaced with "[redacted]".

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-23 21:32:04 -04:00
..
src P7.5.b: flatten JSON event fields for §10 schema compliance 2026-04-23 21:32:04 -04:00
tests P7.5.b: flatten JSON event fields for §10 schema compliance 2026-04-23 21:32:04 -04:00
Cargo.toml P7.5.a: Request ID middleware + X-Request-Id response header 2026-04-21 08:01:30 -04:00