How to enable OpenTracing in Fuse7 to collect metrics for Jaeger ?
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 -
- Step 2 - Used the project from https://github.com/fabric8-quickstarts/spring-boot-cxf-jaxrs.git and added the following
- In pom.xml
<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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
