Radek Mensik created CAMEL-11645:
------------------------------------
Summary: 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)