dd-trace-java icon indicating copy to clipboard operation
dd-trace-java copied to clipboard

Support for Akka-gRPC server

Open lvitaly opened this issue 4 years ago • 2 comments

For now, dd-trace supports akka-grpc server differently than grpc-java server. dd-trace displays akka-grpc request as a series of HTTP requests when grpc-java request handled correctly and displayed with two spans (grpc.server {{procedure name}} and grpc.message). So dd-trace doesn't display RPC to akka-grpc server, but displays HTTP request to akka-http server, on which akka-grpc is based.

Is there a way to fix it? Thanks.

lvitaly avatar Oct 01 '21 14:10 lvitaly

So akka-grpc is supported, the issue is that akka-http streaming pools like Http().superPool() isn't which is essentially how akka-grpc streaming is implemented. you should see all of your unary (non grpc/protobuf streaming) calls appear in the dashboard. However, I wouldn't expect to see anything else.

Also, if you use backend=netty, you'll see the client requests, but if you use backend=akka-http, you won't for the same reason as ^^^

Marcus-Rosti avatar Nov 13 '21 00:11 Marcus-Rosti

re: https://github.com/DataDog/dd-trace-java/issues/2502

Marcus-Rosti avatar Nov 13 '21 00:11 Marcus-Rosti