spring-boot-actuator

Configure Spring Boot Actuator endpoints, health probes, and Micrometer metrics.

322|37|Updated Oct 21, 2025
One-click install
npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill spring-boot-actuator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spring-boot-actuator
Source: https://github.com/giuseppe-trisciuoglio/developer-kit/tree/main/skills/spring-boot/spring-boot-actuator
Command: npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill spring-boot-actuator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill configures production-grade observability using Actuator, Micrometer, and OpenTelemetry, standardizing health probes, metrics, and diagnostics.

Core Features & Use Cases

  • Health, metrics, and info endpoints
  • Custom metrics tagging and Micrometer integration
  • Secure management endpoints and startup diagnostics
  • OpenTelemetry and tracing integration

Quick Start

Add the actuator starter, expose health/info, and configure Prometheus metrics export.

Frequently Asked Questions about spring-boot-actuator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up monitoring and metrics for a Spring Boot application?

Spring Boot Actuator enables production-grade monitoring by exposing health, metrics, and diagnostics endpoints. Add spring-boot-starter-actuator, expose endpoints via management properties, and configure Micrometer to export metrics to Prometheus or other registries for observability.

What's the best way to configure health checks and readiness probes in Spring Boot?

Actuator provides /health endpoints with customizable readiness and liveness groups for Kubernetes and container orchestration. Define probe groups in application properties, configure health indicators, and expose them securely to enable automated pod restart and traffic routing decisions.

Can I secure Actuator endpoints separately from my application endpoints?

Yes, Actuator management endpoints support separate security configuration independent of application routes. Configure management.endpoints.web.exposure and apply Spring Security rules to management traffic to restrict access by IP, role, or authentication method.

How do I export Spring Boot metrics to Prometheus?

Micrometer integration in Actuator automatically formats metrics for Prometheus scraping. Expose the /metrics endpoint, configure Micrometer with custom metric tags, and point your Prometheus scraper to the management port to collect and visualize application performance data.

Does Actuator support distributed tracing and OpenTelemetry?

Actuator integrates with OpenTelemetry for distributed tracing across microservices. Enable tracing dependencies, configure exporters for Jaeger or other backends, and leverage Actuator's startup and httpexchanges endpoints to correlate traces with application diagnostics.

What happens if I don't configure Actuator endpoint exposure in production?

By default, only /health and /info endpoints are exposed over HTTP in production. Other diagnostic endpoints remain disabled unless explicitly exposed via management.endpoints.web.include, reducing security risk but limiting observability until you intentionally enable them.