Spring Boot Actuator
Endpoints
Actuator endpoints allow you to monitor and interact with your application. Spring Boot includes a number of built-in endpoints and you can also add your own. For example the
health
endpoint provides basic application health information.
The way that endpoints are exposed will depend on the type of technology that you choose. Most applications choose HTTP monitoring, where the ID of the endpoint is mapped to a URL. For example, by default, the
health
endpoint will be mapped to /health
.
The following technology agnostic endpoints are available:
actuator |
Provides a hypermedia-based “discovery page” for the other endpoints. Requires Spring HATEOAS to be on the classpath.
|
true
|
auditevents |
Exposes audit events information for the current application.
|
true
|
autoconfig |
Displays an auto-configuration report showing all auto-configuration candidates and the reason why they ‘were’ or ‘were not’ applied.
|
true
|
beans |
Displays a complete list of all the Spring beans in your application.
|
true
|
configprops |
Displays a collated list of all
@ConfigurationProperties . |
true
|
dump |
Performs a thread dump.
|
true
|
env |
Exposes properties from Spring’s
ConfigurableEnvironment . |
true
|
flyway |
Shows any Flyway database migrations that have been applied.
|
true
|
health |
Shows application health information (when the application is secure, a simple ‘status’ when accessed over an unauthenticated connection or full message details when authenticated).
|
false
|
info |
Displays arbitrary application info.
|
false
|
loggers |
Shows and modifies the configuration of loggers in the application.
|
true
|
liquibase |
Shows any Liquibase database migrations that have been applied.
|
true
|
metrics |
Shows ‘metrics’ information for the current application.
|
true
|
mappings |
Displays a collated list of all
@RequestMapping paths. |
true
|
shutdown |
Allows the application to be gracefully shutdown (not enabled by default).
|
true
|
trace |
Displays trace information (by default the last 100 HTTP requests).
|
true
|
Comments
Post a Comment