Skip to content

Commit

Permalink
Disabled Telemetry if there is no one came
Browse files Browse the repository at this point in the history
  • Loading branch information
amigin committed Nov 27, 2024
1 parent 5d51e15 commit 194b403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my-grpc-extensions/src/grpc_server_telemetry_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub fn get_telemetry(
}
}

return GrpcServerTelemetryContext::new(MyTelemetryContext::new(), addr, method.to_string());
return GrpcServerTelemetryContext::new(MyTelemetryContext::None, addr, method.to_string());
}

fn has_multiple_ids(src: &[u8]) -> bool {
Expand Down

0 comments on commit 194b403

Please sign in to comment.