-
Notifications
You must be signed in to change notification settings - Fork 890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for java's jdk.httpserver
module
#13216
Comments
I see, what resources would you recommend in order for me to gain the knowledge required to implement? Or should I try to copy an existing impl like jetty and try to reverse engineer? |
hi @SentryMan! there are some good resources linked under https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/CONTRIBUTING.md in particular https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/contributing/writing-instrumentation.md |
I think jetty isn't the best choice to copy from as it only has the agent instrumentation and it interacts with servlet instrumentation. You could start from https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/armeria/armeria-1.3/library Line 39 in 99267fe
|
Is your feature request related to a problem? Please describe.
Currently, there is no support for the humble
jdk.httpserver
.Describe the solution you'd like
A new instrumentation should be added
Describe alternatives you've considered
No response
Additional context
Since Java 21, virtual threads allow for some decent performance using this server, so it would be nice if we could have native instrumentation.
The text was updated successfully, but these errors were encountered: