{"id":29008260,"url":"https://github.com/jmix-framework/jmix-observability-logging-sample","last_synced_at":"2025-10-24T17:38:41.688Z","repository":{"id":288769210,"uuid":"969044762","full_name":"jmix-framework/jmix-observability-logging-sample","owner":"jmix-framework","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-17T14:33:12.000Z","size":7531,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"release_2_5","last_synced_at":"2025-06-17T15:41:49.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmix-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-04-19T08:59:24.000Z","updated_at":"2025-05-05T12:52:43.000Z","dependencies_parsed_at":"2025-06-17T15:39:30.710Z","dependency_job_id":null,"html_url":"https://github.com/jmix-framework/jmix-observability-logging-sample","commit_stats":null,"previous_names":["jmix-framework/jmix-observability-logging-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmix-framework/jmix-observability-logging-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-observability-logging-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-observability-logging-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-observability-logging-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-observability-logging-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmix-framework","download_url":"https://codeload.github.com/jmix-framework/jmix-observability-logging-sample/tar.gz/refs/heads/release_2_5","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmix-framework%2Fjmix-observability-logging-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261888094,"owners_count":23225135,"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":[],"created_at":"2025-06-25T14:04:19.410Z","updated_at":"2025-10-24T17:38:41.627Z","avatar_url":"https://github.com/jmix-framework.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jmix Observability Logging Sample\n\nThis project is part of the **Jmix Observability Guide Series** and demonstrates how to integrate centralized logging across multiple Jmix applications.\n\nThe goal of the guide series is to showcase how Jmix applications can be monitored, traced, and analyzed using modern, open-source observability tooling. This includes the use of OpenTelemetry as the standard telemetry transport protocol and the Grafana stack (Grafana, Loki) as the target platform.\n\nIn this example, we use two Jmix applications – the Petclinic backend and the Petclinic Portal frontend – which interact with each other and produce structured log output. The log data is centrally collected using OpenTelemetry and visualized in Grafana.\n\nLearn more in the full guide: [Observability: Centralized Logging](https://docs.jmix.io/jmix/observability-logging-guide).\n\n---\n\n## Build the JAR Files\n\nBefore starting the applications using Docker Compose, you need to build the JAR files.\n\n### Build petclinic (backend)\n```bash\n./gradlew -Pvaadin.productionMode=true --include-build jmix-petclinic-2 :jmix-petclinic-2:clean :jmix-petclinic-2:bootJar -x test --no-build-cache\n```\n\n\n### Build petclinic-portal (frontend)\n```bash\n./gradlew -Pvaadin.productionMode=true --include-build jmix-petclinic-portal :jmix-petclinic-portal:clean :jmix-petclinic-portal:bootJar -x test --no-build-cache\n```\n\nOnce the JARs are built, Docker Compose will pick them up and copy them into the containers using the provided Dockerfiles.\n\n## Start the Applications\n\nTo run both applications along with the observability stack (PostgreSQL, Loki, Grafana, etc.), use the provided Docker Compose configuration:\n\n```bash\ndocker compose -f docker/docker-compose.yaml up --build -d\n```\n\nTo stop all applications use the following command:\n\n```bash\ndocker compose -f docker/docker-compose.yaml down\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmix-framework%2Fjmix-observability-logging-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmix-framework%2Fjmix-observability-logging-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmix-framework%2Fjmix-observability-logging-sample/lists"}