Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15785

Camel Opentracing broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.9-GA
    • fuse-7.8-GA
    • Camel
    • None
    • False
    • False
    • % %
    • +
    • Undefined
    • Hide

      After some troubleshooting I've seen that Byteman is loading old dependencies (0.31)

      ] io.opentracing.contrib:opentracing-agent:jar:0.4.0:provided
      [DEBUG] org.jboss.byteman:byteman:jar:4.0.4:provided
      [DEBUG] io.opentracing:opentracing-api:jar:0.31.0.redhat-00008:compile (version managed from 0.31.0)
      [DEBUG] io.opentracing:opentracing-util:jar:0.31.0.redhat-00008:compile (version managed from 0.31.0)
      [DEBUG] io.opentracing:opentracing-noop:jar:0.31.0:compile
      

       

      Loading version 0.33 fixes the problem

      I've manually added the following dependencies, and this seems to correct the problem:

      <!-- Tracing dependencies -->
       <!-- with SB2 7.8 it seems Tracing is broken
       need to add these to override the ones loaded by default -->
       <dependency>
       <groupId>io.opentracing</groupId>
       <artifactId>opentracing-api</artifactId>
       <version>0.33.0</version>
       </dependency>
       <dependency>
       <groupId>io.opentracing</groupId>
       <artifactId>opentracing-util</artifactId>
       <version>0.33.0</version>
       </dependency>
       <dependency>

      <groupId>io.opentracing</groupId>
      <artifactId>opentracing-noop</artifactId>
      <version>0.33.0</version>
      </dependency>

      Show
      After some troubleshooting I've seen that Byteman is loading old dependencies (0.31) ] io.opentracing.contrib:opentracing-agent:jar:0.4.0:provided [DEBUG] org.jboss.byteman:byteman:jar:4.0.4:provided [DEBUG] io.opentracing:opentracing-api:jar:0.31.0.redhat-00008:compile (version managed from 0.31.0) [DEBUG] io.opentracing:opentracing-util:jar:0.31.0.redhat-00008:compile (version managed from 0.31.0) [DEBUG] io.opentracing:opentracing-noop:jar:0.31.0:compile   Loading version 0.33 fixes the problem I've manually added the following dependencies, and this seems to correct the problem: <!-- Tracing dependencies --> <!-- with SB2 7.8 it seems Tracing is broken need to add these to override the ones loaded by default --> <dependency> <groupId>io.opentracing</groupId> <artifactId>opentracing-api</artifactId> <version>0.33.0</version> </dependency> <dependency> <groupId>io.opentracing</groupId> <artifactId>opentracing-util</artifactId> <version>0.33.0</version> </dependency> <dependency> <groupId>io.opentracing</groupId> <artifactId>opentracing-noop</artifactId> <version>0.33.0</version> </dependency>

    Description

      Running Fuse on SpringBoot-2 and enabling tracing in Camel results in failure to generate tracing information, and throwing exceptions

      It appears Camel tries to use some APIs that are not found in the opentracing dependencies loaded.

      Attachments

        Activity

          People

            ldemasi Luigi De Masi
            bmesegue@redhat.com Bruno Meseguer
            Federico Mariani Federico Mariani
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: