> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/v.-spring-boot-actuator/54.-metrics/54.4-registering-custom-metrics.md).

# 54.4 注册自定义指标

要注册自定义指标，请创建一个`MeterBinder` bean。默认情况下，所有`MeterBinder` bean都将自动应用到micrometer `MeterRegistry.Config`。
