- It is set of tools provided by Spring team to monitor applications
- Exposes endpoints to monitor and manage your application
- Easily give Devops functionality outofbox
- /actuator
- end points available under actuator
- Default exposed endpoints are /health & /info
- /health
- status of appln
- /info
- Info about application- name/description/version
- To expose all actuator endpoints
- management.endpoints.web.exposure.include=health,info
- management.endpoints.web.exposure.include=*
- /auditinfo
- /beans
- /mappings
- /autoconfig
- /beans
- /configprops
- /dump
- /env
- /flyway
- /health
- /info
- /loggers
- /liquibase
- /metrics
- /mappings
- /shutdown
- /trace
- /docs
- /heapdump
- /jolokia
- /logfile
Custom Endpoints
- Create class extending AbstractEndpoint<List<String>> {
create constructor
implment Invoke() returning values of List<String> object - Create another calls extending EndpointMvcAdapter
returning object of AbstractEndpoint
No comments:
Post a Comment