批注接口的使用
org.springframework.boot.actuate.endpoint.web.annotation.WebEndpoint
使用WebEndpoint的程序包
程序包
说明
Actuator support for logging.
Actuator support for JVM management.
Actuator support for exporting metrics to Prometheus.
-
org.springframework.boot.actuate.logging中WebEndpoint的使用
-
org.springframework.boot.actuate.management中WebEndpoint的使用
-
org.springframework.boot.actuate.metrics.export.prometheus中WebEndpoint的使用
修饰符和类型类说明class
@Endpoint
that outputs metrics in a format that can be scraped by the Prometheus server.