From d5fc45cc6eeb831cf34ddbad9349ea8266f1160e Mon Sep 17 00:00:00 2001 From: Gabriel Darbord Date: Sun, 14 Jul 2024 11:24:48 +0200 Subject: [PATCH] Instru: fix "should start" logic --- src/OpenTelemetry-Instrumentation/OTInstrumenter.class.st | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenTelemetry-Instrumentation/OTInstrumenter.class.st b/src/OpenTelemetry-Instrumentation/OTInstrumenter.class.st index 3b88037..1900057 100644 --- a/src/OpenTelemetry-Instrumentation/OTInstrumenter.class.st +++ b/src/OpenTelemetry-Instrumentation/OTInstrumenter.class.st @@ -132,9 +132,9 @@ OTInstrumenter >> produceContext [ OTInstrumenter >> shouldStartUnder: span request: request [ ^ spanSuppressionStrategy ifNil: [ true ] ifNotNil: [ - spanSuppressionStrategy - value: span - value: (spanKindExtractor value: request) ] + (spanSuppressionStrategy + value: span + value: (self spanKindExtractor value: request)) not ] ] { #category : 'accessing' }