简体   繁体   English

"Flink Metrics Web UI 不显示双值"

[英]Flink Metrics Web UI don't show double value

How can I see double value in flink web ui on dashboard?如何在仪表板的 flink web ui 中看到双值? Maybe, it's possible with something configuration?也许,有可能通过一些配置?

When I tried see metrics, like Meter<\/code> , on dashboard view only the integer part of number.当我尝试在仪表板上查看诸如Meter<\/code>之类的指标时,仅查看数字的整数部分。 In log I can see double value:在日志中我可以看到双值:

image with dasboard<\/a>带有仪表板的图像<\/a>

image with log<\/a>带日志的图像<\/a>

Function with metrics: https:\/\/github.com\/dedkot01\/busting-grain\/blob\/master\/grain-generator\/src\/main\/scala\/org\/dedkot\/CounterProcessFunction.scala<\/a>具有指标的函数: https<\/a> :\/\/github.com\/dedkot01\/busting-grain\/blob\/master\/grain-generator\/src\/main\/scala\/org\/dedkot\/CounterProcessFunction.scala

File with Flink config: https:\/\/github.com\/dedkot01\/busting-grain\/blob\/master\/local.conf<\/a>带有 Flink 配置的文件: https<\/a> :\/\/github.com\/dedkot01\/busting-grain\/blob\/master\/local.conf

Full Cloudflow Sbt Project: https:\/\/github.com\/dedkot01\/busting-grain<\/a>完整的 Cloudflow Sbt 项目: https<\/a> :\/\/github.com\/dedkot01\/busting-grain

If u want run project, just use command in project directory sbt pipeline\/runLocal<\/code>如果你想运行项目,只需在项目目录sbt pipeline\/runLocal<\/code>中使用命令

If it's not possible in Flink Web UI, where it's possible?如果在 Flink Web UI 中不可能,那在哪里可能? (maybe in Grafana?) (也许在格拉法纳?)

"

I'm not found answer how this fix in Flink Web UI.我没有找到答案如何在 Flink Web UI 中修复此问题。

It's good works in Prometheus and Grafana.它在 Prometheus 和 Grafana 中是很好的作品。

Screenshot from Grafana, value 0.2 is displayed correctly. Grafana 的屏幕截图,正确显示值 0.2。

Grafana 的屏幕截图,值 0.2 正确显示

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM