Joke Collection Website - Public benefit messages - What are the built-in actuator in springboot?

What are the built-in actuator in springboot?

The actuator built in Spring Boot has health check, log monitoring, indicator collection, audit function, alarm function and management endpoint.

1. Health check: Actuator provides the function of health check for the application, which can check the status of the application, including checking the database connection and cache.

2. Log monitoring: Actuator can collect and display application log information, including error log, warning log and information log.

3. Indicator collection: Actuator can collect various indicators of an application, including request volume, response time, memory usage, etc., and provides a visual interface and export function.

4. Audit function: Actuator provides audit function, which can track the operations and events in the application, including login, logout and data modification.

5. Alarm function: Actuator can set an alarm threshold, and when the index of the application exceeds the threshold, it can send an alarm notification by email, SMS, etc.

6. management endpoints: Actuator provides some management endpoints that can be used to manage and configure applications, such as modifying configuration files and restarting applications.

detailed explanation of actuator

The p>Spring Boot Actuator module provides production-level functions, such as health check, audit, indicator collection, HTTP tracking, etc., to help us monitor and manage Spring Boot applications.

this module is a module that collects the internal information of the application and exposes it to the outside. All the above functions can be accessed through HTTP and JMX.

because of the characteristics of exposing internal information, Actuator can also be integrated with some external application monitoring systems (Prometheus, Graphite, DataDog, Influx, Wavefront, New Relic, etc.).

these monitoring systems provide excellent dashboards, graphs, analysis and alarms, which can help you monitor and manage your applications through a unified and friendly interface.

Actuator uses Micrometer to integrate with these external application monitoring systems. In this way, the external monitoring system can be easily integrated with little configuration.