[
https://issues.apache.org/jira/browse/CAMEL-11645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16136989#comment-16136989
]
Gary Brown commented on CAMEL-11645:
------------------------------------
PR to add support for 'excludePatterns' configuration property, as in
camel-zipkin: https://github.com/apache/camel/pull/1898
> Add possibility to filter routes which will report spans
> --------------------------------------------------------
>
> Key: CAMEL-11645
> URL: https://issues.apache.org/jira/browse/CAMEL-11645
> Project: Camel
> Issue Type: New Feature
> Components: camel-opentracing
> Affects Versions: 2.19.1
> Reporter: Radek Mensik
>
> Currently all routes are traced with spans.
> It would be nice to somehow filter which routes will be spanned.
> First step could be that some concrete endpoints will report span, for
> example only those used for REST communication.
> As I had checked Decorators, which are used, modification of method boolean
> newSpan() which will reflect configuration could help us to filter at least
> which endpoint types will be spanning.
> For example RestletSpanDecorator would return true, but all others false.
> Best solution would be similar as is in camel-zipkin.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)