java.lang.Object
org.glassfish.jersey.examples.opentracing.App

public class App extends Object
Open tracing example application.

Exposes OpenTracing-enabled REST application (with Jaeger registered as the Tracer) and invokes one request from (also OpenTracing-enabled) Jersey client.

To visualise the traces, start Jaeger locally:

 docker run -d -p 5775:5775/udp -p 16686:16686 jaegertracing/all-in-one:travis-1278
 
and go to localhost:16686.
Since:
2.26
Author:
Adam Lindenthal
  • Constructor Details

    • App

      public App()
  • Method Details

    • main

      public static void main(String[] args)