An open API service indexing awesome lists of open source software.

https://github.com/pavolloffay/opentracing-java-examples

Spring Boot example app instrumented with OpenTracing
https://github.com/pavolloffay/opentracing-java-examples

Last synced: 3 months ago
JSON representation

Spring Boot example app instrumented with OpenTracing

Awesome Lists containing this project

README

        

# 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.

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

## Spring Boot
[Video](https://youtu.be/RvCcWltMY7U)

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

## JAX-RS (Wilfly Swarm)
[Video](https://youtu.be/gVwLenPH8SY)

```bash
mvn wildfly-swarm:run
```