getsentry / sentry-java

A Sentry SDK for Java, Android and other JVM languages.
https://docs.sentry.io/
MIT License
1.14k stars 432 forks source link

Integration for ktor #2684

Open adinauer opened 1 year ago

adinauer commented 1 year ago

Problem Statement

This issue shall serve to gauge interest in a dedicated Sentry ktor integration. Please do upvote if this is something you'd like to see. You may also be interested in using our OpenTelemetry integration to get more info out of your ktor backend.

Please let us know which features you'd like to see. If you have any hints (i.e. provide an implementation of this to trace requests, ...) feel free to share 🙏 .

Solution Brainstorm

tbd

romtsn commented 1 year ago

https://stackoverflow.com/a/75952971 for prior art

elonzh commented 8 months ago

Any updates?

adinauer commented 8 months ago

Not yet @elonzh , please feel free to let us know which features you'd like to see in a ktor extension.

amir-dropit commented 4 months ago

@adinauer tracing for the Ktor http client requests would be great. Like the one you offer for the Spring client https://docs.sentry.io/platforms/java/guides/spring-boot/performance/instrumentation/automatic-instrumentation/

This would be relevant for both Android and Backend use cases

adinauer commented 2 months ago

Hey everyone, we've just released 8.0.0-alpha.2 of the Java SDK, which has an improved version of our OpenTelemetry integration that supports ktor amongst many other libraries and frameworks. There's instructions how to upgrade in the changelog. If you decide to give it a try, any feedback is welcome 🙏 .