提交 d093944f authored 作者: Serhij S's avatar Serhij S

panic docs

上级 25cb5ae8
......@@ -315,6 +315,10 @@ pub fn metrics_exporter() -> metrics_exporter_prometheus::PrometheusBuilder {
/// Installs Prometheus metrics exporter together with [Scope
/// exporter](https://docs.rs/metrics-exporter-scope)
///
/// # Panics
///
/// Panics if the exporter fails to init
#[cfg(feature = "metrics")]
pub fn metrics_exporter_install(
builder: metrics_exporter_prometheus::PrometheusBuilder,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论