Skip to content

使用yarn-session模式运行官方实例stream.json的时候prometheus出现问题 #1844

Description

@prowlerr

Search before asking

  • I had searched in the 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 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions