Spring Boot Observability
ASecurityUse Micrometer Tracing with the OpenTelemetry bridge (`micrometer-tracing-bridge-otel`) and configure the exporter and propagation in `application.yaml`. The trace context must be preserved across inbound requests, outbound clients, message handlers, and `@Async` work; do not generate unrelated IDs by hand. Use structured JSON logs and include trace/span correlation fields. If request metadata is placed in MDC, clear it in a `finally` block. Log to stdout and let the runtime aggregate it. Exp...
- 584 stars
- 0 votes
- 0 copies
- 4 views
- Added September 5, 2026
Works with
Security analysis
100/100Pro scans all 11 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill spring-boot-observability --agent claude-codeAre you the author of Spring Boot Observability?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-spring-boot-observability-da83f494)Use Micrometer Tracing with the OpenTelemetry bridge (`micrometer-tracing-bridge-otel`) and configure the exporter and propagation in `application.yaml`. The trace context must be preserved across inbound requests, outbound clients, message handlers, and `@Async` work; do not generate unrelated IDs by hand.
Use structured JSON logs and include trace/span correlation fields. If request metadata is placed in MDC, clear it in a `finally` block. Log to stdout and let the runtime aggregate it. Expose metrics through Actuator and verify `/actuator/prometheus`, but secure `/actuator/**` and give administrative access only to operators.
Verification should make a request that crosses a service boundary, then confirm the same trace is visible in the downstream service and its logs. Repeat through an async path and an error path, because thread pools, message consumers, and exception handling are common places for propagation or correlation to disappear. Keep metric labels bounded and never include credentials or sensitive payloads in telemetry.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.