mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-02 07:20:38 +00:00
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()
|
tracing_subscriber::registry()
|
||||||
.with(
|
.with(
|
||||||
tracing_subscriber::EnvFilter::try_from_default_env()
|
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())
|
.with(tracing_subscriber::fmt::layer())
|
||||||
.init();
|
.init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user