flink standalone没有为grafana获取任何指标到pushgateway



我是flink的新手,已经用M1 pro芯片在我的macbook上安装了yarnflink

为了监控flink 1.13的运行,我安装了grafanaprometheuspushgateway,就像我在互联网帖子上发现的一样,所有的web ui看起来都很好。

然后我将flink-conf.yaml文件更改为以下图片,并将flink-metrics-prometheus-1.13.6.jar复制到lib文件夹中。并使用stop-cluster.shstart-cluster.sh重新启动flink。

然而,pushgateway仍然没有从flink得到度量???

有人能告诉我怎么修吗?

真的很着急。非常感谢!!!

我解决了这个问题。我认为这很棘手,应该使用127.0.0.1而不是localhost

metrics.reporter.promgateway.host: 127.0.0.1

最新更新