Skip to content

Commit 04cd34a

Browse files
committed
fix
1 parent 2f78576 commit 04cd34a

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/ktor/ktor-1.0/library/src/main/kotlin/io/opentelemetry/instrumentation/ktor/v1_0

1 file changed

+1
-1
lines changed

instrumentation/ktor/ktor-1.0/library/src/main/kotlin/io/opentelemetry/instrumentation/ktor/v1_0/KtorServerTelemetry.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class KtorServerTelemetry private constructor(
4747
fun setStatusExtractor(
4848
extractor: (SpanStatusExtractor<ApplicationRequest, ApplicationResponse>) -> SpanStatusExtractor<ApplicationRequest, ApplicationResponse>
4949
) {
50-
builder.setStatusExtractor { prevExtractor ->
50+
builder.setSpanStatusExtractorCustomizer { prevExtractor ->
5151
SpanStatusExtractor {
5252
spanStatusBuilder: SpanStatusBuilder,
5353
request: ApplicationRequest,

0 commit comments

Comments
 (0)