Expand description
HTTP server for exposing Prometheus metrics.
This module is conditionally compiled only for non-wasm targets because it
depends on axum and tokio networking features which are not available
in wasm environments. The core metrics functionality (registration,
encoding) remains available on all platforms via the parent module.
Functionsยง
- get_
metrics_ ๐handler - spawn_
api_ server - Spawns an HTTP server that exposes Prometheus metrics on
/metrics.