fix typo in prometheus_metrics_example (#2627)

Signed-off-by: Vigith Maurice <vigith@gmail.com>
This commit is contained in:
Vigith Maurice 2024-03-02 12:51:18 -08:00 committed by GitHub
parent b03f6c1184
commit b6b203b306
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();