spring-actuator

Configure Spring Boot Actuator endpoints for Kubernetes probes and Prometheus monitoring with role-based security.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/dprice-dev/claude-java-skills --skill spring-actuator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: spring-actuator
Source: https://github.com/dprice-dev/claude-java-skills/tree/main/.claude/skills/spring-actuator
Command: npx skills add https://github.com/dprice-dev/claude-java-skills --skill spring-actuator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the operational risk of running Spring Boot services without consistent health checks, production-ready observability, and properly secured /actuator endpoints for monitoring platforms and Kubernetes.

Core Features & Use Cases

  • Production-grade Actuator configuration: Configure actuator base path, endpoint exposure (health/info/metrics/prometheus/loggers/env), and safe defaults like hiding health details and env values.
  • Kubernetes liveness/readiness integration: Enable liveness/readiness probes and wire them to /actuator/health/liveness and /actuator/health/readiness so traffic routing reflects real readiness.
  • Security for operational endpoints: Add a dedicated SecurityFilterChain for /actuator/** with role-based access and network/IP restrictions for sensitive endpoints.
  • Custom health indicators and info: Implement HealthIndicator beans and enrich /actuator/info using build metadata for faster troubleshooting.
  • Metrics tagging and observability: Standardize metric tags using application name and environment, and publish business/technical health signals.

Quick Start

Configure your Spring Boot application so Kubernetes probes and monitoring can safely access /actuator/health, metrics, and Prometheus while keeping actuator values and endpoints properly restricted.

Frequently Asked Questions about spring-actuator

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

FAQPage Schema
How do I configure Spring Boot Actuator for Kubernetes liveness and readiness probes?▼

You secure /actuator endpoints by adding a dedicated SecurityFilterChain for /actuator/**, applying role-based authorization and network IP restrictions for sensitive operational endpoints like env and loggers.

How do I expose Prometheus metrics securely in Spring Boot Actuator?▼

A custom HealthIndicator in Spring Boot is a bean that implements health check logic, allowing you to publish business or technical health signals to the /actuator/health endpoint for faster troubleshooting and reliable production monitoring.

How do I add build metadata to the /actuator/info endpoint in Spring Boot?▼

You add build metadata to the /actuator/info endpoint by configuring the info endpoint exposure and enriching it with build information, which provides operational context for faster troubleshooting during production monitoring.

How do I hide sensitive environment values in Spring Boot Actuator endpoints?▼

You hide sensitive environment values by applying safe default settings for the env endpoint, configuring endpoint exposure rules to restrict sensitive actuator endpoints, and hardening /actuator/** access controls with role or IP based authorization.