Skip to content

Customizing span kind in Netty server with auto-instrumentation #8139

Answered by mateuszrzeszutek
orangain asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @orangain ,

I can think of 2 ways to achieve that:

  1. You could probably use the collector's transform processor to change the span kind for the given route
  2. Or, you'd have to manually instrument your server code, and turn off the ktor javaagent instrumentation. This'd also require making some changes in the ktor library instrumentation to allow modifying the SpanKindExtractor

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@trask
Comment options

trask Apr 4, 2023
Maintainer

@mateuszrzeszutek
Comment options

@orangain
Comment options

@mateuszrzeszutek
Comment options

@orangain
Comment options

Answer selected by orangain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants