/opentracing-java-examples

Spring Boot example app instrumented with OpenTracing

Primary LanguageJavaApache License 2.0Apache-2.0

OpenTracing Java Examples

This repository contains various example apps instrumented with OpenTracing API and framework integrations.

Start tracing system

Choose tracing system, note that some code changes might be required, depending on which tracer is initialized.

docker run --rm -it --network=host jaegertracing/all-in-one
docker run --rm -it -p 9411:9411 openzipkin/zipkin

Spring Boot

Video

mvnw clean install
java -jar target/demo-opentracing-0.0.1-SNAPSHOT.jar

JAX-RS (Wilfly Swarm)

Video

mvn wildfly-swarm:run