Customizing span kind in Netty server with auto-instrumentation #8139
-
I have built a web application using Netty server (and Ktor) and set up Open Telemetry's auto-instrumentation using javaagent. In this case, Netty server instrumentation automatically creates spans with the
How can I configure this? Alternatively, if it is possible to change the Kind of an automatically created span midway, that would also be fine, but I think it might be difficult based on the following issue: open-telemetry/opentelemetry-java#1793 Versions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hey @orangain , I can think of 2 ways to achieve that:
|
Beta Was this translation helpful? Give feedback.
Hey @orangain ,
I can think of 2 ways to achieve that:
SpanKindExtractor