Actuator

Spring boot actuators provide environmental-ready features like endpoints for the application health for monitoring and metrics.

How to configure Spring boot actuators

Add maven or gradle dependency which one you are going to use for your project.
Enable actuator endpoint:-
management.endpoints.web.exposure.include=*
Security configuration
Run the application
The endpoints are

  • /actuator/health: Shows application health information.
  • /actuator/info: Displays arbitrary application info.
  • /actuator/metrics: Shows metrics information.
  • /actuator/env: Displays environment properties.
  • /actuator/beans: Lists all Spring beans in the application context.

Author: Susheel kumar

Leave a Reply

Your email address will not be published. Required fields are marked *