mirror of https://github.com/tokio-rs/axum
fix typo in prometheus_metrics_example (#2627)
Signed-off-by: Vigith Maurice <vigith@gmail.com>
This commit is contained in:
parent
b03f6c1184
commit
b6b203b306
|
@ -64,7 +64,7 @@ async fn main() {
|
|||
tracing_subscriber::registry()
|
||||
.with(
|
||||
tracing_subscriber::EnvFilter::try_from_default_env()
|
||||
.unwrap_or_else(|_| "example_todos=debug,tower_http=debug".into()),
|
||||
.unwrap_or_else(|_| "example_prometheus_metrics=debug,tower_http=debug".into()),
|
||||
)
|
||||
.with(tracing_subscriber::fmt::layer())
|
||||
.init();
|
||||
|
|
Loading…
Reference in New Issue