我正在使用camel-spring-boot-starter. SpringBoot 应用程序实现CommandLineRunner. 以下属性在我的应用程序中配置。
camel.springboot.main-run-controller=true
我正在尝试在端口 8080 上公开 springboot 执行器指标,但我在公开端点时面临挑战,因为它是一个非 Web 应用程序。url http://localhost:8080/actuator/metrics 给出 404 状态码。
如何在我的用例的 HTTP 端点上公开执行器“/metrics”?
注意:执行器和骆驼管理依赖项在类路径中可用。
-问候 Srikant Mantha