One Observability Workshop v3.0.0
One Observability Workshop / microservices/pet-search
microservices/pet-search¶
Pet Search microservice construct (Java/Spring Boot on ECS Fargate).
Deploys the pet search service that queries the DynamoDB pet catalog:
- ECS Fargate with CloudWatch agent sidecar and FireLens log routing
- DynamoDB access for pet catalog search with scan filters
- S3 access for pet image URL resolution
- Application Signals integration via
@aws-cdk/aws-applicationsignals-alpha - Java auto-instrumentation with configurable instrumentation version
Two instrumentation variants exist in the source code: - petsearch-java/ — Auto-instrumented via ADOT Java agent - petsearch-java/manual-instrumentation-complete/ — Manual OpenTelemetry SDK instrumentation
Observability highlight: Demonstrates the contrast between auto and manual Java instrumentation. The auto-instrumented version requires zero code changes, while the manual version shows custom spans, metrics, and trace context propagation.