How to enable OpenTracing in Fuse7 to collect metrics for Jaeger ?

Solution Verified - Updated -

Issue

  • I am trying to enable OpenTracing in Fuse7 flow to collect metrics and feed that to Jaeger.
  • Step 1 - To start with, used the following template to deploy all-in-one Jaeger on my minishift. I am able to see the Jaegar UI.
oc process -f https://raw.githubusercontent.com/jaegertracing/jaeger-openshift/master/all-in-one/jaeger-all-in-one-template.yml | oc create -f -
 <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-opentracing</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-opentracing-starter</artifactId>
    </dependency>

  • In SampleRestApplication.java inserted the annotation
@CamelOpenTracing
  • But after deploying into Minishit, i am not seeing this service/application in Jaeger UI.

  • Do you have any documentation on how to enable OpenTracing in Fuse7 and how to install Jaeger in our OCP cluster for Production use. I need some step-by-step instruction or relevant documentation.

Environment

  • Red Hat Fuse
    • 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In