fn install_with_prometheus<R>(
builder: PrometheusBuilder,
other: Option<R>,
) -> Result<(), BoxError>Expand description
Installs the Prometheus recorder from builder, with other beside it if it is provided, as
the global recorder, then describes every metric and records the build info through it.
The build info is recorded before this returns, so it is already exported when the caller logs that the endpoint is open.
Like PrometheusBuilder::install outside a Tokio runtime, which is how Zebra calls it, this
serves the endpoint from its own thread.