Spring Boot文档地址:
https://docs.spring.io/spring-boot/docs/
https://docs.spring.io/spring-cloud/docs/
Actuator
Spring Boot includes a number of additional features to help you monitor and manage your application when you push it to production. You can choose to manage and monitor your application by using HTTP endpoints or with JMX. Auditing, health, and metrics gathering can also be automatically applied to your application.
审计、健康检查、监控,指标收集
Definition of Actuator
An actuator is a manufacturing term that refers to a mechanical device for moving or controlling something. Actuators can generate a large amount of motion from a small change.
Endpoints
Actuator endpoints let you monitor and interact with your application. Spring Boot includes a number of built-in endpoints and lets you add your own. For example, the health endpoint provides basic application health information.
Each individual endpoint can be enabled or disabled and exposed (made remotely accessible) over HTTP or JMX. An endpoint is considered to be available when it is both enabled and exposed. The built-in endpoints will only be auto-configured when they are available. Most applications choose exposure via HTTP, where the ID of the endpoint along with a prefix of /actuator is mapped to a URL. For example, by default, the health endpoint is mapped to /actuator/health.
| To learn more about the Actuator’s endpoints and their request and response formats, please refer to the separate API documentation (HTML or PDF). |
本文介绍了Spring Boot中Actuator的功能及使用方式。Actuator提供了一系列用于监控和管理应用程序的特性,包括审计、健康检查和指标收集等。文章还详细解释了如何通过HTTP端点来启用这些功能。
3491

被折叠的 条评论
为什么被折叠?



