-
-
Notifications
You must be signed in to change notification settings - Fork 786
Description
Is your feature request related to a problem?
As of HC 12
I see two interesting operational challenges that could be solved by open telemetry (https://github.com/open-telemetry/opentelemetry-dotnet) integration/instrumentation
Logging a "request" (I know it's not as straight forward with stream, defer) context
- Add tracing information to Strawberry Shake #4092
Allowing to get more context for all requests that happen e.g. I'd like to know whichuser
,user-agent
/device executed something - Support for Serilog Request Logging #2221
The solution you'd like
Having an instrumentation for opentelemetry tracing + potentially logs (#2221 can be split out?) will allow end to end picture on what query/mutation did cause a lot of db headaches or I/O round trips.
I guess hc can already leverage existing instrumentation approaches such as
https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.AspNetCore/README.md
Product
Hot Chocolate
sar, hognevevle and atrauzzi