Skip to content

Commit

Permalink
Instru: fix "should start" logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel-Darbord committed Jul 14, 2024
1 parent e50b910 commit d5fc45c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/OpenTelemetry-Instrumentation/OTInstrumenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down

0 comments on commit d5fc45c

Please sign in to comment.