@charley.xu2...@gmail.com
发现日志中报错org.apache.flink.metrics.prometheus.PrometheusPushGatewayReporter [] - Failed to push metrics to PushGateway with jobName f0181efe9a70542d02dd5848b4f260c5, groupingKey {k1=v1, k2=v2}.java.net.ConnectException: unknown host但是其实我在hosts文件里已经配了的。 把conf文件改为如下 就可以了。 多谢各位大佬指导!! 在 2022-03-26 01:20:59,"Ning Xu" <charley.xu2...@gmail.com> 写道: >可以在 job manager log 那里先定位下 prometheus reporter configuration >在提交任务初始化的时候是否正确注册 > >On Fri, Mar 25, 2022 at 23:42 Kaiqiang <kqx0...@163.com> wrote: > >> >> https://stackoverflow.com/questions/71617626/flink-standalone-get-no-metrics-to-pushgateway-for-grafana >> >> >> 哪位大佬知道这是咋回事么?万分感谢 >> >> 发自我的iPhone