springboot 3.0.4/3.0.5 中的 prometheus 端点

问题描述 投票:0回答:0

我无法让 springboot 在 3.0.4 或 3.0.5 中公开 prometheus 端点。已启用

management.prometheus.metrics.export.enabled=true
以及暴露
management.endpoints.web.exposure.include=prometheus
但我仍然没有看到
/actuator/prometheus
端点已启用

我的 pom.xml 中包含执行器 - 任何指针?

我似乎找不到任何文件来建议除上述以外的任何其他内容

java spring-boot spring-boot-actuator
© www.soinside.com 2019 - 2024. All rights reserved.