Customizing your Actuator endpoints

You can also customize your Actuator endpoints by using Spring properties. Endpoints can be customized in the following ways:

  • Enabling/disabling endpoints
  • Sensitivity
  • Changing endpoint IDs
  • Writing custom health indicators
  • Creating custom endpoint
  • Many more customizations

To customize the properties in your application, you can enable or disable an endpoint, make its sensitivity true or false, and customize its ID. You can also customize all endpoints globally, and also create exceptions for the ones you want to. Let's see how to customize the Actuator.

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.