Instrument Java in Production
Opinionated Java workflow for Spring Boot and JVM services with release-aware incident analysis.
Instrument Java in Production
Use this workflow when the first rollout target is a JVM service where memory, concurrency, and dependency issues matter.
Best first targets
- Spring Boot APIs
- JVM microservices
- async worker services
Sequence
- Install Java SDK
- Configure Authentication
- Attach
service,env, andversion - Validate one request path and one failure path
- Connect release metadata
Example bootstrap
What to validate
- one real request path emits traces with
service,env, andversion - one failure path still emits usable evidence before shutdown
- OOM or executor incidents can be tied to one release value
- region is present when the JVM service spans multiple regions
Done definition
- One JVM service is release-aware in production
- OOM and executor failures can be correlated to code or config changes