Skip to main content

Crate aster_forge_actix_observability

Crate aster_forge_actix_observability 

Source
Expand description

Actix Web observability endpoints for Aster services.

This crate owns route-level observability glue that is specific to Actix Web, such as the Prometheus text exposition endpoint. Metrics recording traits and concrete backend state remain in aster_forge_metrics; product route modules can call these helpers without carrying backend-specific #[cfg] blocks.

Functionsยง

configure_prometheus_route
Adds a Prometheus /metrics endpoint to an Actix route scope when enabled.