spring-boot-actuator

意犹未尽發表於2024-12-02

常用API

檢視可用的端點

curl http://127.0.0.1:8080/actuator

檢視可用的指標

curl http://10.100.40.39:8080/actuator/metrics

如檢視tomcat相關

curl http://10.100.40.39:8080/actuator/metrics/tomcat.threads.busy