From 80b7955082b8e4f2d2546ce1921aefebb90e5989 Mon Sep 17 00:00:00 2001 From: Mirko von Leipzig <48352201+Mirko-von-Leipzig@users.noreply.github.com> Date: Fri, 8 May 2026 08:12:38 +0200 Subject: [PATCH] Re-enable SyncState and SyncNullifier traces --- crates/utils/src/tracing/grpc.rs | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/crates/utils/src/tracing/grpc.rs b/crates/utils/src/tracing/grpc.rs index 359d1eae7..6037bf413 100644 --- a/crates/utils/src/tracing/grpc.rs +++ b/crates/utils/src/tracing/grpc.rs @@ -21,20 +21,12 @@ pub fn grpc_trace_fn(request: &http::Request) -> tracing::Span { // Create a span with a generic, static name. Fields to be recorded after needs to be // initialized as empty since otherwise the assignment will have no effect. - let span = match method { - "SyncState" | "SyncNullifiers" => tracing::debug_span!( - "rpc", - otel.name = field::Empty, - rpc.service = service, - rpc.method = method - ), - _ => tracing::info_span!( - "rpc", - otel.name = field::Empty, - rpc.service = service, - rpc.method = method - ), - }; + let span = tracing::info_span!( + "rpc", + otel.name = field::Empty, + rpc.service = service, + rpc.method = method + ); // Set the span name via otel.name let otel_name = format!("{service}/{method}");