{"id":15137822,"url":"https://github.com/mfvanek/spring-boot-open-telemetry-demo","last_synced_at":"2025-10-23T13:30:50.858Z","repository":{"id":118795079,"uuid":"264710860","full_name":"mfvanek/spring-boot-open-telemetry-demo","owner":"mfvanek","description":"Spring Boot Open Telemetry Demo","archived":false,"fork":false,"pushed_at":"2025-02-02T19:18:03.000Z","size":589,"stargazers_count":4,"open_issues_count":10,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T01:11:46.849Z","etag":null,"topics":["docker","gradle","gradle-8","hacktoberfest","java","java-17","kafka","kotlin-dsl","open-telemetry","sleuth","spring","spring-boot","spring-boot-2","spring-boot-3"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfvanek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-17T16:34:24.000Z","updated_at":"2025-02-06T10:33:33.000Z","dependencies_parsed_at":"2023-10-03T11:29:42.209Z","dependency_job_id":"fbb2746e-a121-4856-9753-e188d60a262d","html_url":"https://github.com/mfvanek/spring-boot-open-telemetry-demo","commit_stats":{"total_commits":103,"total_committers":6,"mean_commits":"17.166666666666668","dds":0.3106796116504854,"last_synced_commit":"517f10224196d94bfe16a4bc2ecaaee0566a65d4"},"previous_names":["mfvanek/spring-boot-open-telemetry-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfvanek%2Fspring-boot-open-telemetry-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfvanek%2Fspring-boot-open-telemetry-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfvanek%2Fspring-boot-open-telemetry-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfvanek%2Fspring-boot-open-telemetry-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfvanek","download_url":"https://codeload.github.com/mfvanek/spring-boot-open-telemetry-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237834600,"owners_count":19373757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","gradle","gradle-8","hacktoberfest","java","java-17","kafka","kotlin-dsl","open-telemetry","sleuth","spring","spring-boot","spring-boot-2","spring-boot-3"],"created_at":"2024-09-26T07:02:28.464Z","updated_at":"2025-10-23T13:30:50.843Z","avatar_url":"https://github.com/mfvanek.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot OpenTelemetry Demo\n\nA set of small Spring Boot applications to demonstrate OpenTelemetry capabilities and nuances\n\n[![Java CI](https://github.com/mfvanek/spring-boot-open-telemetry-demo/actions/workflows/tests.yml/badge.svg)](https://github.com/mfvanek/spring-boot-open-telemetry-demo/actions/workflows/tests.yml)\n[![codecov](https://codecov.io/gh/mfvanek/spring-boot-open-telemetry-demo/graph/badge.svg?token=NUWI02T68G)](https://codecov.io/gh/mfvanek/spring-boot-open-telemetry-demo)\n\n## Spring Cloud Sleuth example\n\nIf you are looking for a **Spring Boot 2.7.x** example with [Spring Cloud Sleuth](https://spring.io/projects/spring-cloud-sleuth), take a look at version [0.4.1](https://github.com/mfvanek/spring-boot-open-telemetry-demo/releases/tag/v.0.4.1)\n\n## Local run from IDEA\n\n### Start containers\n\n```shell\ndocker-compose --file docker/docker-compose-base.yml  --project-name=\"spring-boot-open-telemetry-demo\" up -d\n```\n\n#### UI links\n\n* [Jaeger UI](http://localhost:16686)\n* [Kafka UI](http://localhost:18080)\n\n### Start applications\n\n```shell\n./gradlew spring-boot-3-demo-app-kotlin:bootRun\n```\n\n```shell\n./gradlew spring-boot-3-demo-app:bootRun\n```\n\n### Make http request\n\n```shell\ncurl http://localhost:8090/current-time\n```\n\n```shell\ncurl http://localhost:8080/current-time\n```\n\n#### Other endpoints\n\n* [Swagger UI](http://localhost:8085/actuator/swagger-ui)\n* [Prometheus metrics](http://localhost:8085/actuator/prometheus)\n* [Health](http://localhost:8085/actuator/health)\n\n## Run in Docker\n\n### Build images\n\n```shell\n./gradlew dockerBuildImage\n```\n\n### Run via Compose\n\n```shell\ndocker-compose --file docker/docker-compose-full.yml  --project-name=\"spring-boot-open-telemetry-demo\" up -d\n```\n\n#### UI links\n\n* [Jaeger UI](http://localhost:16686)\n* [Kafka UI](http://localhost:18080)\n\n#### How to stop\n\n```shell\ndocker-compose --project-name=\"spring-boot-open-telemetry-demo\" down\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfvanek%2Fspring-boot-open-telemetry-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfvanek%2Fspring-boot-open-telemetry-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfvanek%2Fspring-boot-open-telemetry-demo/lists"}