- Mastering Spring Boot 2.0
- Dinesh Rajput
- 332字
- 2021-06-25 21:29:19
Analyzing the Actuator's endpoints
Spring Boot's Actuator offers you several web endpoints; these let you monitor your running Spring application and you can view the internals of your application in production. It provides you a number of predefined endpoints for your Spring application, but you can also add your own custom endpoint for monitoring your application in production.
For example, the health endpoint provides basic application health information and you can also find out how beans are wired together in the Spring application context, determine what environment properties are available to your application, get a snapshot of runtime metrics, and more.
You can easily make use of your application and optimize it by invoking HTTP endpoints if your application is configured with Spring Boot Actuator. There is a wide range of HTTP endpoints that Spring Boot Actuator can support. Some of these are:
- Bean details
- Logger details
- Configuration details
- Health details
- Version details
With these built-in endpoints in Spring Boot Actuator, it also allows you to add your own endpoint or customize an existing one. Spring Boot sets the sensitive default to some HTTP endpoints, which cannot be exposed publicly. These endpoints require a password or a username.
The Spring Boot's Actuator exposes a number of endpoints in multiple ways, but these depend on the technology you are using. Once Spring Boot Actuator is configured into your application, it provides you several Actuator REST endpoints. If you are choosing HTTP web endpoints, then you can see the following endpoints:

The preceding table has several web endpoints. You can organize these endpoints into the following three categories:
- Configuration endpoints
- Metrics endpoints
- Application information endpoints
Let's take a look at how to expose these endpoints that provide insight into the configuration of your application. Since endpoints may contain sensitive information, careful consideration should be given about when to expose them. Out of the box, Spring Boot will expose all enabled endpoints over JMX, but only the health and info endpoints over HTTP.
- Word排版技術(shù)大全(第2版)
- Excel 2010在會(huì)計(jì)與財(cái)務(wù)管理日常工作中的應(yīng)用
- Android網(wǎng)上班級(jí)管理實(shí)例:“我的班班”APP平臺(tái)建設(shè)
- 和秋葉一起學(xué):秒懂Excel
- Excel 2019公式、函數(shù)應(yīng)用大全
- Excel 2016辦公專家從入門到精通(視頻自學(xué)版)
- Office 2007辦公軟件應(yīng)用立體化教程
- Excel/PPT 2016辦公專家從入門到精通
- 中文PowerPoint 2003應(yīng)用基礎(chǔ)
- 辦公自動(dòng)化精品教程
- 精通Excel數(shù)據(jù)統(tǒng)計(jì)與分析
- INSTANT Prezi Starter
- 如何高效辦公:Excel 2013經(jīng)典應(yīng)用技巧大全
- Excel人力資源管理必備的200個(gè)文件
- Office辦公軟件案例教程(第4版)