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

OpenTracingTracer does not activate created span

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.1
    • 3.4.5, 3.7.0
    • camel-opentracing
    • None
    • Unknown

    Description

      OpenTracingTracer does not activate the span it creates in onExchangeBegin (i.e. does not invoke tracer.activateSpan). Whenever there is processor invoked down the route, and this processor code is instrumented for OpenTracing (for instance, JDBC calls via opentracing-contrib/java-spring-cloud), the newly created spans are not aware about a trace being active and start a new trace. This leads to all such spans being detached from the route trace. It is a major issue for Camel routes observability via OpenTracing. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            orange-buffalo Bogdan Ilchyshyn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: