Skip to content

Commit 7d93824

Browse files
committedFeb 6, 2025
#13237 Insert OpenTelemetry phase before Setup
1 parent 5f2e5d5 commit 7d93824

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/ktor/ktor-2-common/library/src/main/kotlin/io/opentelemetry/instrumentation/ktor/v2_0/common/internal

1 file changed

+1
-1
lines changed
 

‎instrumentation/ktor/ktor-2-common/library/src/main/kotlin/io/opentelemetry/instrumentation/ktor/v2_0/common/internal/KtorServerTelemetryUtil.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ object KtorServerTelemetryUtil {
3333
val tracer = KtorServerTracer(instrumenter)
3434
val startPhase = PipelinePhase("OpenTelemetry")
3535

36-
application.insertPhaseBefore(ApplicationCallPipeline.Monitoring, startPhase)
36+
application.insertPhaseBefore(ApplicationCallPipeline.Setup, startPhase)
3737
application.intercept(startPhase) {
3838
val context = tracer.start(call)
3939

0 commit comments

Comments
 (0)
Please sign in to comment.