← ClaudeAtlas

observabilitylisted

Backend observability patterns — structured logging, Micrometer metrics, OpenTelemetry tracing, Spring Boot Actuator, Kubernetes health probes, alerting, and dashboards. Use when user mentions logging, metrics, tracing, monitoring, health checks, or Prometheus.
IuliaIvanaPatras/claude-code-templates · ★ 0 · AI & Automation · score 65
Install: claude install-skill IuliaIvanaPatras/claude-code-templates
# Observability Skill Production observability for Spring Boot 4 with OpenTelemetry, Micrometer, Actuator, and structured logging. ## When to Use - "add logging" / "structured logs" / "monitoring" - "metrics" / "Prometheus" / "Grafana dashboard" - "tracing" / "distributed tracing" / "correlation IDs" - "health checks" / "Kubernetes probes" / "Actuator" --- ## Quick Reference: Three Pillars | Pillar | Tool | Export To | Purpose | |--------|------|-----------|---------| | **Logs** | SLF4J + Logback (structured) | Elasticsearch, Loki | Debug, audit, error tracking | | **Metrics** | Micrometer | Prometheus → Grafana | Throughput, latency, saturation | | **Traces** | OpenTelemetry | Jaeger, Tempo, Zipkin | Request flow across services | --- ## Structured Logging (ECS Format) ### Configuration ```yaml # application.yml logging: structured: format: console: ecs # Elastic Common Schema level: root: INFO com.example.myapp: DEBUG org.springframework.security: WARN org.hibernate.SQL: DEBUG # Show SQL in dev org.hibernate.orm.jdbc.bind: TRACE # Show bind params in dev ``` ### Output (JSON — machine-parseable) ```json { "@timestamp": "2026-03-26T10:15:30.123Z", "log.level": "INFO", "logger": "com.example.myapp.user.UserService", "process.pid": 1234, "thread.name": "virtual-42", "service.name": "my-service", "message": "User created successfully", "trace.id": "abc123def456", "span.id": "789ghi", "user.id": "550e840