Skip to content

mfvanek/spring-boot-open-telemetry-demo

Repository files navigation

Spring Boot Open Telemetry Demo

Java CI codecov

Local run from IDEA

Start containers

docker-compose --file docker/docker-compose-base.yml  --project-name="spring-boot-open-telemetry-demo" up -d

UI links

Start applications

./gradlew spring-boot-2-demo-app:bootRun
./gradlew spring-boot-3-demo-app:bootRun

Make http request

curl http://localhost:8090/current-time
curl http://localhost:8080/current-time

Other endpoints

Run in Docker

Build images

./gradlew dockerBuildImage

Run via Compose

docker-compose --file docker/docker-compose-full.yml  --project-name="spring-boot-open-telemetry-demo" up -d

UI links

How to stop

docker-compose --project-name="spring-boot-open-telemetry-demo" down