Claude Code Spring Boot Observability for Low-Cardinality Export Metrics
Choose timing, count, and in-flight metrics for a local business operation. Check how many distinct time series your labels can create.
中文Install in Claude Code
Use Claude Code with the pinned skill and a Spring Boot test project configured with Actuator and Micrometer.
- Get the complete `plugins/spring-boot/skills/spring-boot-observability` directory from the pinned GitHub checkout.
- Copy it under the target project's `.claude/skills/`. Confirm `.claude/skills/spring-boot-observability/SKILL.md`, open Claude Code at the project root, and call `/spring-boot-observability`.
Example task
Instrument a fictional report export. Distinguish CSV and PDF plus success and failure. Keep individual report IDs out of metric labels.What to check
Explain the Timer choice and finite label combinations. Verify timings and counts with sample requests without creating one series per report.
Original SKILL.md on GitHub · Updated
Frequently asked question
Why should report ID stay out of metric labels?
Its set of values grows with each report. Use stable categories for aggregated metrics and separately controlled diagnostics for individual requests.