Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mfvanek/spring-boot-open-telemetry-demo
Spring Boot Open Telemetry Demo
https://github.com/mfvanek/spring-boot-open-telemetry-demo
docker gradle gradle-8 hacktoberfest java java-17 kafka kotlin-dsl open-telemetry sleuth spring spring-boot spring-boot-2 spring-boot-3
Last synced: 12 days ago
JSON representation
Spring Boot Open Telemetry Demo
- Host: GitHub
- URL: https://github.com/mfvanek/spring-boot-open-telemetry-demo
- Owner: mfvanek
- License: apache-2.0
- Created: 2020-05-17T16:34:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-02T19:18:03.000Z (18 days ago)
- Last Synced: 2025-02-08T01:11:46.849Z (12 days ago)
- Topics: docker, gradle, gradle-8, hacktoberfest, java, java-17, kafka, kotlin-dsl, open-telemetry, sleuth, spring, spring-boot, spring-boot-2, spring-boot-3
- Language: Java
- Homepage:
- Size: 575 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring Boot Open Telemetry Demo
[](https://github.com/mfvanek/spring-boot-open-telemetry-demo/actions/workflows/tests.yml)
[](https://codecov.io/gh/mfvanek/spring-boot-open-telemetry-demo)## Local run from IDEA
### Start containers
```shell
docker-compose --file docker/docker-compose-base.yml --project-name="spring-boot-open-telemetry-demo" up -d
```#### UI links
* [Jaeger UI](http://localhost:16686)
* [Kafka UI](http://localhost:18080)### Start applications
```shell
./gradlew spring-boot-2-demo-app:bootRun
``````shell
./gradlew spring-boot-3-demo-app:bootRun
```### Make http request
```shell
curl http://localhost:8090/current-time
``````shell
curl http://localhost:8080/current-time
```#### Other endpoints
* [Swagger UI SB2](http://localhost:8091/actuator/swagger-ui)
* [Prometheus metrics SB2](http://localhost:8091/actuator/prometheus)
* [Health SB2](http://localhost:8091/actuator/health)## Run in Docker
### Build images
```shell
./gradlew dockerBuildImage
```### Run via Compose
```shell
docker-compose --file docker/docker-compose-full.yml --project-name="spring-boot-open-telemetry-demo" up -d
```#### UI links
* [Jaeger UI](http://localhost:16686)
* [Kafka UI](http://localhost:18080)#### How to stop
```shell
docker-compose --project-name="spring-boot-open-telemetry-demo" down
```