使用yarn-session模式运行官方实例stream.json的时候prometheus出现问题
- Dominant language
- Java
- Stars
- 4.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
### Search before asking
- [ ] I had searched in the [issues](https://github.com/DTStack/chunjun/issues) and found no similar question.
- [ ] I had googled my question but i didn't get any help.
- [ ] I had read the documentation: [ChunJun doc](https://dtstack.github.io/chunjun) but it didn't help me.
### Description
2023-11-09 16:28:46,622 WARN org.apache.flink.metrics.prometheus.PrometheusPushGatewayReporter [] - Failed to push metrics to PushGateway with jobName 92776dc1411ebf1da6683a5161600bdc, groupingKey {}.
java.io.IOException: Response code from http://192.168.8.192:9090/metrics/job/92776dc1411ebf1da6683a5161600bdc was 404, response body: 404 page not found
at io.prometheus.client.exporter.PushGateway.doRequest(PushGateway.java:325) ~[chunjun-connector-iotdb.jar:?]
at io.prometheus.client.exporter.PushGateway.push(PushGateway.java:138) ~[chunjun-connector-iotdb.jar:?]
at org.apache.flink.metrics.prometheus.PrometheusPushGatewayReporter.report(PrometheusPushGatewayReporter.java:128) [chunjun-connector-iotdb.jar:?]
at org.apache.flink.runtime.metrics.MetricRegistryImpl$ReporterTask.run(MetricRegistryImpl.java:494) [chunjun-ddl-mysql.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_212]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_212]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_212]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
2023-11-09 16:28:46,873 INFO com.dtstack.chunjun.connector.stream.util.TablePrintUtil [] -
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Contributor guide
Assessment
This issue has not been assessed yet.