From 0f20b78b0621d9983824957a52069793dd1270f2 Mon Sep 17 00:00:00 2001 From: "ayush.jaiswal" Date: Sat, 20 Dec 2025 13:27:21 +0530 Subject: [PATCH] [AST-494] default enable request-id distributed logging interceptor for all grpc services --- .../hypertrace/core/grpcutils/server/InterceptorUtil.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java b/grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java index a3cb43c..e4e861f 100644 --- a/grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java +++ b/grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java @@ -15,14 +15,16 @@ public class InterceptorUtil { */ public static ServerServiceDefinition wrapInterceptors(BindableService bindableService) { return ServerInterceptors.intercept( - bindableService, new RequestContextServerInterceptor(), new ThrowableResponseInterceptor()); + bindableService, + new RequestContextLoggingServerInterceptor(), + new ThrowableResponseInterceptor()); } public static ServerServiceDefinition wrapInterceptors( ServerServiceDefinition serviceDefinition) { return ServerInterceptors.intercept( serviceDefinition, - new RequestContextServerInterceptor(), + new RequestContextLoggingServerInterceptor(), new ThrowableResponseInterceptor()); } }