Skip to main content

UNKNOWN_ROUTE

Constant UNKNOWN_ROUTE 

Source
pub const UNKNOWN_ROUTE: &str = "unknown";
Expand description

Label substituted when a request did not match any route template (axum’s built-in 404 fallback) or when the matched template is not on the configured allow-list.

Kept distinct from any real route template so dashboards can flag the route="unknown" series as a sign that either a real route is missing from DEFAULT_ROUTE_ALLOWLIST or that scanners are probing the gateway.