Skip to content

demo how to use a spring actuator to monitor the application.

Notifications You must be signed in to change notification settings

yichunzhao/spring-actuator-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-actuator-demo

demo how to use a spring actuator to monitor the application.

Health endpoint

  • Provides status of application
  • Provides status of dependencies

image

Info endpoint

  • Provides customizable piont of information

JMX(Java Management Extention) Functionality

  • Beans:a list of all beans in the application context
  • Env:a list of the state of the environent
  • Memory dumps: Heapdump and threaddump
  • Mappings:a list of web URL mappings
  • Metrics:micrometer metrix

image

Define Exposures

  • management.endpoints.jmx.exposure.exclude/include
  • management.endpoints.web.exposure.exclude/include
  • management.endpoint..enabled

Securing Actuator

  • Actuator is a data sensitive exposure piont.
  • Spring security must be enabled to protect it.
  • Even inside the orgnisation actuator should be protected.

About

demo how to use a spring actuator to monitor the application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published