Spring Boot Monitoring Rules

Configure Spring Boot Actuator, Micrometer metrics, OpenTelemetry tracing, and custom health indicators.

1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/iceflower/opencode-agents-and-skills --skill spring-boot-monitoring-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Spring Boot Monitoring Rules
Source: https://github.com/iceflower/opencode-agents-and-skills/tree/main/skills/spring-monitoring
Command: npx skills add https://github.com/iceflower/opencode-agents-and-skills --skill spring-boot-monitoring-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the challenge of implementing robust monitoring and observability within Spring Boot applications, ensuring applications are healthy, performant, and traceable.

Core Features & Use Cases

  • Actuator Configuration: Sets up essential Spring Boot Actuator endpoints for health, metrics, and Prometheus integration.
  • Custom Metrics: Demonstrates how to define and record custom metrics using Micrometer for application-specific insights.
  • Distributed Tracing: Guides on setting up distributed tracing with OpenTelemetry for request correlation across services.
  • Health Checks: Provides a pattern for implementing custom health indicators for external dependencies.
  • Use Case: Ensure your microservices are easily monitored by configuring Actuator, adding custom business metrics, and enabling distributed tracing to debug inter-service communication issues.

Quick Start

Configure Spring Boot Actuator endpoints and security for monitoring.

Frequently Asked Questions about Spring Boot Monitoring Rules

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

FAQPage Schema
How do I configure Spring Boot Actuator endpoints for monitoring?

Set up Spring Boot Actuator endpoints by configuring management properties to expose health, metrics, and Prometheus integration. This ensures your microservices are easily monitored and performant.

What is the best way to add custom metrics in Spring Boot?

Add custom metrics in Spring Boot using Micrometer to gain application-specific insights. This approach tracks business-specific operations alongside standard Actuator monitoring data for comprehensive observability.

How do I set up distributed tracing in Spring Boot microservices?

Set up distributed tracing in Spring Boot by integrating OpenTelemetry to correlate requests across services. This requires configuring tracing dependencies to debug inter-service communication effectively.

Can I create custom health checks for external dependencies in Spring Boot?

Create custom health checks for external dependencies in Spring Boot by implementing custom HealthIndicator classes. This extends Actuator's default health monitoring to cover external systems comprehensively.

Does Spring Boot Actuator work with Micrometer for observability?

Spring Boot Actuator works with Micrometer to provide comprehensive observability. Actuator exposes the endpoints while Micrometer handles custom metrics collection and Prometheus integration for monitoring.