Mateusz Rzeszutek edc185b133 Rename ServerSpanNaming to HttpRouteHolder (#5211) il y a 3 ans
..
src edc185b133 Rename ServerSpanNaming to HttpRouteHolder (#5211) il y a 3 ans
README.md e08ed9d448 Add library instrumentation for ktor. (#4983) il y a 3 ans
build.gradle.kts 55eb157645 Fix ktor testLatestDeps (#5014) il y a 3 ans

README.md

Ktor Instrumentation

This package contains libraries to help instrument Ktor. Currently, only server instrumentation is supported.

Initializing server instrumentation

Initialize instrumentation by installing the KtorServerTracing feature. You must set the OpenTelemetry to use with the feature.

OpenTelemetry openTelemetry = initializeOpenTelemetryForMe()

embeddedServer(Netty, 8080) {
  install(KtorServerTracing) {
    setOpenTelemetry(openTelemetry)
  }
}