hey guys, any news regarding <https://blog.jetbrai...
# ktor
h
hey guys, any news regarding https://blog.jetbrains.com/kotlin/2024/03/the-ktor-roadmap-for-2024/#opentelemetry-plugins I’m on Ktor 3.0 beta due to memory leak fixes on the client side, but i’m also using it on the server side, open telemetry doesn’t have 3.X ktor support yet
b
Here's the YT ticket https://youtrack.jetbrains.com/issue/KTOR-6025/Add-OpenTelemetry-plugin-for-Ktor-Server-and-Client I'm not entirely sure what's left, but I can follow up tomorrow
thank you color 1
👀 1
So here's the issue for introducing 3.X support in OpenTelemetry https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/11933 It ought to be released some time shortly after the full release of Ktor 3.0.0
h
I've opened that issue, it's been a long time and there's no update on 3.0.0 release, it's a blocker for me, can't run jaeger nor the 2.0 support since it's incompatible with 3.0
b
I just noticed the backwards compatibility error mentioned in the YT is going to be resolved in the release candidate, so you might be in luck there. We should have a release of
3.0.0-rc-1
later today, or you could also try an EAP build.
h
That's cool, meaning I can use the open telemetry 2.0 ktor target with the 3.0.0-rc-1?
b
I haven't tried it, but the error that caused the problem before is fixed now, so yes in theory 🤞
👀 1
rc-1 is published now, so you can give it a try. If there's still problems, we might be able to fix them in the next patch
👀 1
h
Exception in thread "main" java.lang.NoSuchFieldError: Class io.ktor.server.routing.Routing does not have member field 'io.ktor.server.routing.Routing$Plugin Plugin'
https://github.com/ktorio/ktor-samples/tree/main/opentelemetry just tried bumping kotlin to 2.0.20 and ktor to 3.0.0-rc-1
b
Yeah, we updated the ticket, it's looking like it won't be backwards compatible before 3.0.0 is released atm
h
Is there a timeline when 3.0.0 is gonna be released? Open telemetry is crucial for lots of BE projects
b
Should be in the next couple weeks, then the OT update would be shortly after
thank you color 1