You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi team,
I found that the AsyncServerInterceptor throws an exception when opentelemetry-javaagent is enabled.
Here is the exception and stacktrace:
Armeria Version - 1.30.1
Possible root cause:
The default method interceptCall in AsyncServerInterceptor creates an instance of DeferredListener. The constructor of DeferredListener performs checking on the ServerCall<I, O> call parameter. The checking requires that the passed call should be a subclass of com.linecorp.armeria.internal.server.grpc.AbstractServerCall.
When opentelemetry-javagent is enabled, the original com.linecorp.armeria.server.grpc.UnaryServerCall object is replaced by io.opentelemetry.javaagent.shaded.instrumentation.grpc.v1_6.TracingServerInterceptor$TracingServerCall. Since TracingServerCall is not a subclass of AbstractServerCall , the constructor of DeferredListener throws an exception.
Hi team,
I found that the
AsyncServerInterceptor
throws an exception whenopentelemetry-javaagent
is enabled.Here is the exception and stacktrace:
Armeria Version - 1.30.1
Possible root cause:
The default method
interceptCall
inAsyncServerInterceptor
creates an instance ofDeferredListener
. The constructor ofDeferredListener
performs checking on theServerCall<I, O> call
parameter. The checking requires that the passedcall
should be a subclass ofcom.linecorp.armeria.internal.server.grpc.AbstractServerCall
.When
opentelemetry-javagent
is enabled, the originalcom.linecorp.armeria.server.grpc.UnaryServerCall
object is replaced byio.opentelemetry.javaagent.shaded.instrumentation.grpc.v1_6.TracingServerInterceptor$TracingServerCall
. SinceTracingServerCall
is not a subclass ofAbstractServerCall
, the constructor ofDeferredListener
throws an exception.How to reproduce the problem
AsyncServerInterceptor
GrpcService
opentelemetry-javaagent
from https://github.com/open-telemetry/opentelemetry-java-instrumentation.opentelemetry-javaagent
.The text was updated successfully, but these errors were encountered: