Function reth::core::metrics::prometheus_exporter::serve
pub async fn serve<Metrics>(
listen_addr: SocketAddr,
handle: PrometheusHandle,
db: Metrics,
static_file_provider: StaticFileProvider,
process: Collector,
task_executor: TaskExecutor,
) -> Result<(), Report>
Expand description
Serves Prometheus metrics over HTTP with database and process metrics.