Expand description
Admin API for proxy introspection.
Provides endpoints for checking backend health and proxy status.
Structs§
- Admin
State - Cached health status, updated periodically by a background task.
- Backend
Meta - Per-backend metadata passed in from config at startup.
- Backend
Status - Health status of a single backend, updated by the background health checker.
Functions§
- admin_
router - Build the admin API router.
- spawn_
health_ checker - Spawn a background task that periodically health-checks backends. Returns the AdminState that admin endpoints read from.
Type Aliases§
- Metrics
Handle - Metrics handle type – wraps the Prometheus handle when the feature is enabled.