diff --git a/src/meta/node/src/server.rs b/src/meta/node/src/server.rs index 8508cab596bee..2135bc38fcf18 100644 --- a/src/meta/node/src/server.rs +++ b/src/meta/node/src/server.rs @@ -626,7 +626,7 @@ pub async fn start_service_as_election_leader( } else { tracing::info!("Telemetry didn't start due to meta backend or config"); } - if report_scarf_enabled() { + if !cfg!(madsim) && report_scarf_enabled() { tokio::spawn(report_to_scarf()); } else { tracing::info!("Scarf reporting is disabled");