sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Integration for ktor

Open adinauer opened this issue 2 years ago • 5 comments

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

adinauer avatar May 02 '23 05:05 adinauer

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

romtsn avatar May 03 '23 17:05 romtsn

Any updates?

elonzh avatar Dec 19 '23 07:12 elonzh

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

adinauer avatar Dec 19 '23 07:12 adinauer

@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

amir-dropit avatar Apr 18 '24 13:04 amir-dropit

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 🙏 .

adinauer avatar Jun 26 '24 16:06 adinauer