Skip to content

Commit 8ae3c07

Browse files
authored
opentelemetry: Remove chatty log in client (#8606)
Removing this debug log to reduce noise. This log fires on every RPC call but provides no useful debugging value. The action it logs (adding callInfo to the context) is part of the normal flow, and the message contains no helpful variables. RELEASE NOTES: N/A
1 parent c4f881c commit 8ae3c07

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

stats/opentelemetry/client_metrics.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ func (h *clientMetricsHandler) initializeMetrics() {
7272
func getOrCreateCallInfo(ctx context.Context, cc *grpc.ClientConn, method string, opts ...grpc.CallOption) (context.Context, *callInfo) {
7373
ci := getCallInfo(ctx)
7474
if ci == nil {
75-
if logger.V(2) {
76-
logger.Info("Creating new CallInfo since its not present in context")
77-
}
7875
ci = &callInfo{
7976
target: cc.CanonicalTarget(),
8077
method: determineMethod(method, opts...),

0 commit comments

Comments
 (0)