https://kotlinlang.org logo
#ktor
Title
# ktor
g

Guido Wehner

12/08/2023, 12:27 PM
Hey, does anyone use tracing with ktor? Something like instana, jaeger or something else, to trace requests, database stuff, ... If so, is there an example you found that could help us to set it up to monitor?
a

Anders Sveen

12/08/2023, 12:52 PM
If I started fresh today I would look at Opentelemetry Java agent: https://github.com/open-telemetry/opentelemetry-java-instrumentation
👍 1
And see what that brings, but if you do New Relic use their Java agent 🙂
You might need something extra to set up opentelemetry properly between microservices, but we're running a kind of monolith so tracing between services isn't something we have set up. 🙂