pub fn configure_prometheus_route(scope: Scope) -> ScopeExpand description
Adds a Prometheus /metrics endpoint to an Actix route scope when enabled.
Without the prometheus feature this returns the input scope unchanged. Products should call
this unconditionally from their route assembly and let Cargo features decide whether the
endpoint exists.