In this short article, we will learn how to collect a Thread Dump in a Spring Boot application which exposes the Actuator API.
Spring Boot Actuator
Monitoring Spring Boot with Micrometer and Prometheus
This tutorial covers how to monitor Spring Boot metrics using Prometheus. We will also learn how to trigger Alerts using the Alert Manager component.
How to trace HTTP Request and Response with Spring Boot Actuator
Spring Boot Actuator endpoints let you monitor and interact with your application. Spring Boot includes a number of built-in endpoints and lets you add your own. For example, the health endpoint provides basic application health information. In this tutorial we will learn how to use the HTTP Tracing Actuator Endpoint.
Securing Spring Boot Actuator Endpoints
Out of the box, all sensitive Spring Boot Actuator endpoints are secured. Only authenticated users who have the ACTUATOR role can access those endpoints. You can change the ACTUATOR role name to something else, say SUPERADMIN, by setting the following property: management.security.roles=SUPERADMIN If you have the Spring Boot Security starter on the classpath, the Actuator … Read more
How to implement custom Health indicators in Spring Boot
Spring Boot provides the following HealthIndicator implementations out-of-the-box. They are auto-configured by default:
Configuring Spring Boot Actuator
The Spring Boot Actuator module provides advanced production-ready features such as monitoring, metrics, health checks, etc. The Spring Boot Actuator enables you to monitor the application using HTTP endpoints and JMX. In this tutorial we will learn how to get started with it.