summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVigith Maurice <vigith@gmail.com>2024-03-02 12:51:18 -0800
committerGitHub <noreply@github.com>2024-03-02 21:51:18 +0100
commitb6b203b3065e4005bda01efac8429176da055ae2 (patch)
treeadc6f2ec1d4b8bd704feca851a29f1a3b2fa2236 /examples
parentb03f6c1184723bdc079215222fc168ef96847dea (diff)
fix typo in prometheus_metrics_example (#2627)
Signed-off-by: Vigith Maurice <vigith@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/prometheus-metrics/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/prometheus-metrics/src/main.rs b/examples/prometheus-metrics/src/main.rs
index 0a1b2108..bb0e9c9c 100644
--- a/examples/prometheus-metrics/src/main.rs
+++ b/examples/prometheus-metrics/src/main.rs
@@ -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();