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

Add possibility to filter routes which will report spans

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.19.1
    • 2.20.0
    • camel-opentracing
    • None
    • 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

              acosentino Andrea Cosentino
              cipous Radek Mensik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: