Skip to content

Commit

Permalink
Update instrumentation/spring/spring-integration-4.1/library/src/main…
Browse files Browse the repository at this point in the history
…/java/io/opentelemetry/instrumentation/spring/integration/TracingChannelInterceptor.java

Co-authored-by: Mateusz Rzeszutek <[email protected]>
  • Loading branch information
laurit and Mateusz Rzeszutek authored Jan 4, 2022
1 parent 4830f96 commit 57c56f7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ public Message<?> preSend(Message<?> message, MessageChannel messageChannel) {
// 2. another messaging instrumentation has already created a CONSUMER span, in which case this
// instrumentation should not create another one
if (!createProducerSpan && shouldStartConsumer(parentContext, messageWithChannel)) {
// if (instrumenter.shouldStart(parentContext, messageWithChannel)) {
context = consumerInstrumenter.start(parentContext, messageWithChannel);
localMap.put(messageChannel, ContextAndScope.create(context, context.makeCurrent()));
} else if (createProducerSpan
Expand Down

0 comments on commit 57c56f7

Please sign in to comment.