{"repo":"blueswen/spring-boot-observability","free":true,"listed":false,"github":"https://github.com/blueswen/spring-boot-observability","clone":"git clone https://github.com/blueswen/spring-boot-observability.git","description":"Observe Spring Boot app with three pillars of observability: Traces (Tempo), Metrics (Prometheus), Logs (Loki) on Grafana through OpenTelemetry and OpenMetrics.","language":"Java","stars":365,"topics":["grafana","loki","observability","openmetrics","opentelemetry","prometheus","spring-boot","tempo"],"license":null,"category":"analytics","readme_excerpt":"Spring Boot with Observability Observe the Spring Boot application with three pillars of observability on Grafana: 1. Traces with Tempo and OpenTelemetry Instrumentation for Java 2. Metrics with Prometheus, Spring Boot Actuator, and Micrometer 3. Logs with Loki and Logback This demo project is a Spring Boot version of FastAPI with Observability and is also inspired by Cloud Observability with Grafana and Spring Boot. Table of contents - Spring Boot with Observability - Table of contents - Quick Start - Explore with Grafana - Metrics to Traces - Traces to Logs - Logs to Traces - Detail - Spring Boot Application - OpenTelemetry Instrumentation - Logs - Traces - Metrics - Metrics with Exemplar - Prometheus - Metrics - Prometheus Config - Grafana Data Source - Tempo - Traces - Grafana Data Source - Loki - Logs - Loki Docker Driver - Grafana Data Source - Grafana - Reference Quick Start 1. Install Loki Docker Driver 2. Start all services with docker compose 3. Send requests with siege and curl to the Spring Boot app Or you can send requests with k6: Or send requests from applications' Swagger UI: - app-a: http://localhost:8080/swagger-ui/index.html - app-b: http://localhost:8081/swagger-ui/index.html - app-c: http://localhost:8082/swagger-ui/index.html 4. Check predefined dashboard on Grafana http://localhost:3000/ and login with default account and password Dashboard screenshot: The dashboard is also available on Grafana Dashboards. Explore with Grafana Grafana provides a great s","default_branch":null,"files":null,"tree":[],"storefront":"/r/blueswen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/blueswen/spring-boot-observability/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}