Spring Boot Observability
Question Variations
- "Why are user IDs poor metric tags?"
- "What is the difference between a metric and a trace?"
- "How do you correlate an HTTP error with service logs?"
Why This Is Asked
Production debugging depends on metrics, traces, logs, and consistent correlation. This question tests whether candidates create actionable signals rather than only application logs.
Key Concepts
- Micrometer provides metrics instrumentation and registry integration.
- Traces connect work across service boundaries.
- Logs need structured, safe context such as request or trace IDs.
- High-cardinality metric tags can overload monitoring systems.
Question Variations
- “Why are user IDs poor metric tags?”
- “What is the difference between a metric and a trace?”
- “How do you correlate an HTTP error with service logs?”