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
Is your feature request related to a problem? Please describe.
When using the OTEL agent with ZIO-http, we get the benefit of existing Netty instrumentation. This means traces are started/stopped and propagated correctly, but there's a problem.
The server trace names contain only the HTTP method (which is useless, we need the route in the trace name).
We need to add instrumentation to the OTEL agent that provides the span name.
This involves hooking into specific classes and methods in ZIO-http.
Describe the solution you'd like
Someone from the core team decides if there's enough stability in the internal API to hook into it with the OTEL java agent.
And if there is, you can provide me the classes/methods where I can see the matched route and I'll try and add the required instrumentation to OTEL.
Describe alternatives you've considered
Someone from the core team writes a plugin and I don't have to do anything? :D
The text was updated successfully, but these errors were encountered:
SimunKaracic
changed the title
Improve OpenTelemetry integration so traces include path.
Improve OpenTelemetry integration so traces include path
May 8, 2024
Is your feature request related to a problem? Please describe.
When using the OTEL agent with ZIO-http, we get the benefit of existing Netty instrumentation. This means traces are started/stopped and propagated correctly, but there's a problem.
The server trace names contain only the HTTP method (which is useless, we need the route in the trace name).
From what I can tell, we're hitting the same issue as described here open-telemetry/opentelemetry-java-instrumentation#8613
We need to add instrumentation to the OTEL agent that provides the span name.
This involves hooking into specific classes and methods in ZIO-http.
Describe the solution you'd like
Someone from the core team decides if there's enough stability in the internal API to hook into it with the OTEL java agent.
And if there is, you can provide me the classes/methods where I can see the matched route and I'll try and add the required instrumentation to OTEL.
Describe alternatives you've considered
Someone from the core team writes a plugin and I don't have to do anything? :D
The text was updated successfully, but these errors were encountered: