[ https://issues.apache.org/jira/browse/CAMEL-11645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-11645. -------------------------------------- Resolution: Fixed > 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 > Assignee: Andrea Cosentino > Fix For: 2.20.0 > > > 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)