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

OpenTracingTracer does not activate created span

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.5, 3.7.0
    • Component/s: camel-opentracing
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: