opentelemetry-dotnet icon indicating copy to clipboard operation
opentelemetry-dotnet copied to clipboard

What is the best way to trace GRPC stream messages in ASP.NET Core?

Open dceravigupta opened this issue 2 years ago • 2 comments

Question

I have a gRPC based ASP.NET Core service which expose streaming gRPC APIs. Currently I'm using OpenTelemetry SDK auto collection to collect traces for all incoming calls automatically but seems like it doesn't capture traces for individual request in case of a streaming gRPC API. Any recommendation how we can auto collect them?

image

Use Github Discussions.

dceravigupta avatar Jul 28 '23 15:07 dceravigupta

Ping... Anyone who could help me with this one?

dceravigupta avatar Aug 24 '23 21:08 dceravigupta

You can write custom trace messages in grpc interceptor

careless6666 avatar Mar 06 '24 07:03 careless6666