Jaeger (Tracing)

Introduction

Jaeger, inspired by Dapper and OpenZipkin, is a distributed tracing system released as open source by Uber Technologies.
It is used for monitoring and troubleshooting microservices-based distributed systems, including:

Creating the exporter

To create the exporter, we’ll need to:

Create an exporter in code

Have the Jaeger endpoint available to receive traces

If using Maven, add these to your pom.xml file

<properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding><opencensus.version>0.15.0</opencensus.version><!-- The OpenCensus version to use --></properties><dependencies><dependency><groupId>io.opencensus</groupId><artifactId>opencensus-api</artifactId><version>${opencensus.version}</version></dependency><dependency><groupId>io.opencensus</groupId><artifactId>opencensus-exporter-trace-jaeger</artifactId><version>${opencensus.version}</version></dependency><dependency><groupId>io.opencensus</groupId><artifactId>opencensus-impl</artifactId><version>${opencensus.version}</version><scope>runtime</scope></dependency></dependencies>