Open kabigon-sung opened 5 days ago
Did a local check, and it seems like the delegate method cannot be found for some reason:
I realized delegateMH
doesn't work as expected 😅 We'll fix this from armeria-side in the next version 🙏
Hi @jrhee17 , I think you are right. Thanks for checking the issues.
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
. Whenopentelemetry-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
.