我正在尝试使用 PushGateway 推送指标,但在推送指标时出现以下错误:
java.io.IOException: Response code from http://169.41.73.106:30000/metrics/job/pushgateway was 404, response body: 404 page not found
at io.prometheus.client.exporter.PushGateway.doRequest(PushGateway.java:325)
at io.prometheus.client.exporter.PushGateway.pushAdd(PushGateway.java:160)
at com.test.promtheus.App.main(App.java:37)
URL up tohttp://169.41.73.106:30000/metrics
工作正常,但是当我尝试 /metrics/job
使用提到的任何抓取作业名称时,我得到 404。有人可以帮忙吗?