Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11645

Add possibility to filter routes which will report spans

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.19.1
    • Fix Version/s: 2.20.0
    • Component/s: camel-opentracing
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acosentino Andrea Cosentino
                Reporter:
                cipous Radek Mensik
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: