spring-boot-observability
Installation
SKILL.md
Spring Boot Observability
Priority: P0 (CRITICAL)
Implementation Workflow
- Add tracing and metrics dependencies to
pom.xml - Configure
application.yamlfor tracing, actuator, and log correlation - Add structured logging with MDC context
- Verify with
curl localhost:8080/actuator/prometheusand check trace IDs in logs
Enable Distributed Tracing
- Correlation IDs: Enable trace/span ID injection.
- Propagation: Propagate context across threads (
@Async) and clients. - OpenTelemetry: Use OTel bridge (
micrometer-tracing-bridge-otel).
See implementation examples for application.yaml tracing configuration and actuator exposure.