Expand description
Axum router construction with the request-id, tracing, and body-limit layers attached.
Structsยง
- Route
Aware ๐Span - Selects the tracing level for HTTP spans based on path.
- Uuid
Request ๐Id - [
MakeRequestId] implementation that assigns a random UUID v4 to every incoming request, attached as thex-request-idheader.
Functionsยง
- build_
router - Builds the Axum [
Router] with all embedding, health, and fleet-discovery routes, a 2 MiB body limit, request-id propagation, and structured tracing.