spring-boot-actuator

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

2|Updated Jan 5, 2024
One-click install
npx skills add https://github.com/wilfriedago/dotfiles --skill spring-boot-actuator-wilfriedago
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spring-boot-actuator
Source: https://github.com/wilfriedago/dotfiles/tree/main/agents/skills/spring-boot-actuator
Command: npx skills add https://github.com/wilfriedago/dotfiles --skill spring-boot-actuator-wilfriedago

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables robust production-grade observability for Spring Boot services, ensuring they are monitorable, debuggable, and maintainable in live environments.

Core Features & Use Cases

  • Monitoring & Health Checks: Expose health, metrics, and info endpoints for real-time application status.
  • Security & Access Control: Secure management endpoints to prevent unauthorized access.
  • Diagnostics: Enable endpoints for debugging startup issues, configuration, and environment details.
  • Use Case: When deploying a Spring Boot microservice, use this Skill to automatically configure Actuator endpoints, expose Prometheus metrics, and set up liveness and readiness probes for Kubernetes.

Quick Start

Enable Spring Boot Actuator for your service by adding the starter dependency and restarting the application.

Frequently Asked Questions about spring-boot-actuator

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

FAQPage Schema
How do I configure Spring Boot Actuator for production monitoring and health checks?

To configure Spring Boot Actuator for production monitoring, add the starter dependency to your service and restart the application to expose health, metrics, and info endpoints for real-time application status.

Can I secure Spring Boot Actuator management endpoints to prevent unauthorized access?

Yes, you can secure Spring Boot Actuator management endpoints. This configuration prevents unauthorized access by applying access control to management endpoints, ensuring safe diagnostics and performance insights in live environments.

Does Spring Boot Actuator support Kubernetes liveness and readiness probes?

Yes, Spring Boot Actuator supports Kubernetes liveness and readiness probes. When deploying microservices, this setup enables real-time application status checks to determine container health and traffic routing eligibility.

How do I expose Prometheus metrics using Micrometer in a Spring Boot application?

You can expose Prometheus metrics by configuring Spring Boot Actuator with Micrometer. This integration enables performance insights and real-time observability across JVM services through standardized metrics endpoints.

What Spring Boot Actuator endpoints are available for debugging startup issues and configuration?

Spring Boot Actuator provides diagnostics endpoints for debugging startup issues, configuration details, and environment information. These endpoints enable robust maintainability and debugging for live microservice environments.