Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
joaquimscosta avatar

Spring Boot Observability

  • 2 installs
  • 21 repo stars
  • Updated August 5, 2026
  • joaquimscosta/arkhe-claude-plugins

Configures Spring Boot 4 observability with Actuator health checks, Micrometer metrics, and OpenTelemetry tracing, including Kubernetes probes.

About

Sets up production observability in Spring Boot 4 using Actuator endpoints, Micrometer metrics, and OpenTelemetry distributed tracing. A developer uses it to add health checks, custom metrics, tracing, and Kubernetes liveness/readiness probes.

  • Actuator endpoint security and probe setup
  • Micrometer Timer/Counter/Gauge and OpenTelemetry spans

Spring Boot Observability by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #77 of 89 Java & JVM skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/joaquimscosta/arkhe-claude-plugins --skill spring-boot-observability

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
repo stars21
Last updatedAugust 5, 2026
Repositoryjoaquimscosta/arkhe-claude-plugins

What it does

Configures Spring Boot 4 observability with Actuator health checks, Micrometer metrics, and OpenTelemetry tracing, including Kubernetes probes.

Files

SKILL.mdMarkdownGitHub ↗

Spring Boot Observability

Production observability with Actuator endpoints, Micrometer metrics, and OpenTelemetry tracing.

Core Components

ComponentPurpose
ActuatorHealth checks, info, metrics exposure, operational endpoints
MicrometerMetrics abstraction (Timer, Counter, Gauge, DistributionSummary)
OpenTelemetryDistributed tracing (default in Spring Boot 4)

Core Workflow

1. Add startersactuator, micrometer-registry-*, opentelemetry 2. Configure endpoint exposure → Secure sensitive endpoints 3. Define health groups → Separate liveness from readiness 4. Add custom metrics → Business-specific measurements 5. Configure tracing → Sampling, propagation, export

Quick Patterns

See EXAMPLES.md for complete working examples including:

  • Production Actuator Configuration with health groups and Kubernetes probes
  • Custom Health Indicator with latency monitoring (Java + Kotlin)
  • Custom Micrometer Metrics with Counter, Timer, and Gauge patterns
  • OpenTelemetry Span Customization with Observation API
  • OpenTelemetry Configuration for OTLP export
  • Actuator Endpoint Access Control (Boot 4)

Spring Boot 4 Specifics

  • OpenTelemetry is the default tracer (replaces Brave)
  • Health Indicator imports from org.springframework.boot.health.contributor.*
  • Endpoint Access Control with access: none/unrestricted/read-only

Detailed References

  • Examples: See EXAMPLES.md for complete working code examples
  • Troubleshooting: See TROUBLESHOOTING.md for common issues and Boot 4 migration
  • Actuator Endpoints: See references/ACTUATOR.md for endpoint configuration, security, custom endpoints
  • Micrometer Metrics: See references/METRICS.md for Timer, Counter, Gauge, DistributionSummary patterns
  • Distributed Tracing: See references/TRACING.md for OpenTelemetry, span customization, context propagation

Anti-Pattern Checklist

Anti-PatternFix
DB checks in liveness probeMove to readiness group only
100% trace sampling in productionUse 10% or less
Exposing all endpoints publiclySeparate management port + auth
High-cardinality metric tagsUse low-cardinality tags only
Missing graceful shutdownAdd server.shutdown=graceful
No health probe groupsSeparate liveness and readiness

Related Skills

NeedSkill
Dependency validationspring-boot-verify
Actuator securityspring-boot-security
Actuator testingspring-boot-testing
Module metricsspring-boot-modulith

Critical Reminders

1. Separate liveness from readiness — Liveness: "is process alive?", Readiness: "can handle traffic?" 2. Low cardinality tags only — User IDs, request IDs = bad; status codes, regions = good 3. Secure Actuator endpoints — Use separate port or authentication 4. Sample traces in production — 100% sampling overwhelms collectors 5. Graceful shutdown — Allow in-flight requests to complete

Related skills

Java & JVMmonitoring

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.