# 16.5 总结

* Spring Boot Actuator 提供了几个端点，可做为 HTTP 和 JMX MBean，让您可以窥探 Spring Boot 应用程序的内部工作情况。
* 默认情况下，大多数 Actuator 端点处于禁用状态，但可以有选择地通过设置 management.endpoints.web.exposure.include 和 management.endpoints.web.exposure.exclude 调整停启用状态。
* 某些端点（如 /logger 和 /env 端点）允许写操作，动态更改正在运行的应用程序的配置。
* 有关应用程序的构建和 Git 提交的详细信息，可以通过 /info 端点获取。
* 应用程序的运行状况，可能会受到自定义运行状况指示器的影响，运行状况来自于外部集成应用程序的运行状况。
* 自定义应用程序度量指标，可以通过 Micrometer 注册。Micrometer 支撑了 Spring Boot 应用程序与几个流行指标引擎集成，包括 Datadog、New Relic 和 Prometheus 等。
* Actuator web 端点可以使用 Spring Security 进行保护，就像保护任何 Spring Web 应用程序中的其他端点那样。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://potoyang.gitbook.io/spring-in-action-v5/di-16-zhang-shi-yong-springboot-actuator/16.5-zong-jie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
