marcingrzejszczak commented on PR #9389:
URL: https://github.com/apache/camel/pull/9389#issuecomment-1456315842
> @marcingrzejszczak are you referring to the shouldExclude method you
linked above, where you can only make this work if you remove that entirely or
what?
Yes, I'm referring to that. So I made it work by changing the method from
this
```java
private boolean shouldExclude(SpanDecorator sd, Exchange exchange, Endpoint
endpoint) {
return sd instanceof AbstractInternalSpanDecorator ||
!sd.newSpan()
|| isExcluded(exchange, endpoint);
}
```
to this
```java
private boolean shouldExclude(SpanDecorator sd, Exchange exchange, Endpoint
endpoint) {
return !sd.newSpan()
|| isExcluded(exchange, endpoint);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]