spring-boot-observability
БесплатноБез исполняемых скриптовНе проверенInstrument Spring Boot with Micrometer metrics, distributed tracing, and structured logging. Use when adding Micrometer metrics, distributed tracing, or…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Spring Boot Observability
Priority: P0 (CRITICAL)
Implementation Workflow
- Add tracing and metrics dependencies to
pom.xml - Configure
application.yamlfor tracing, actuator, and log correlation - Add structured logging with MDC context
- Verify with
curl localhost:8080/actuator/prometheusand check trace IDs in logs
Enable Distributed Tracing
- Correlation IDs: Enable trace/span ID injection.
- Propagation: Propagate context across threads (
@Async) and clients. - OpenTelemetry: Use OTel bridge (
micrometer-tracing-bridge-otel).
See implementation examples for application.yaml tracing configuration and actuator exposure.
Configure Structured Logging
- Format: Use JSON logging (
logstash-logback-encoder) in production. - MDC: Use MDC for contextual info (userId, tenantId). Always clear MDC in finally block.
- Output: Log to stdout only. Let container handle shipping.
See implementation examples for structured logging with MDC context and Logstash encoder.
Secure Actuator Endpoints
- Security: Secure
/actuator/**with Admin role. - Probes: Enable K8s Liveness/Readiness probes.
- Verify: Run
curl localhost:8080/actuator/prometheusto confirm metrics exposed.
Anti-Patterns
- No System.out: Use @Slf4j for all structured logging.
- No open Actuator: Secure /actuator/** with Admin role.
- No DIY tracing: Use Micrometer with OTel bridge.
References
Установить spring-boot-observability в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл spring-boot-observability?
Instrument Spring Boot with Micrometer metrics, distributed tracing, and structured logging. Use when adding Micrometer metrics, distributed tracing, or structured logging to Spring Boot.
Как установить скилл spring-boot-observability?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spring-boot-observability запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic