//! Axum sub-router for the `/metrics` endpoint.
use Arc;
use Router;
use get;
use metrics;
use crateRpcState;
/// Build the axum sub-router for `/metrics`.
///
/// The caller is responsible for installing a [`MetricsState`] extension on
/// the parent router before this sub-router is reached.