确实可以通过counter来实现[1]
相应的blog在[2]

[1] https://github.com/mbode/flink-prometheus-example
[2]https://flink.apache.org/features/2019/03/11/prometheus-monitoring.html


-----邮件原件-----
发件人: Yun Tang [mailto:[email protected]] 
发送时间: 2020年8月28日 星期五 14:37
收件人: [email protected]
主题: Re: flink prometheus 无法上报accumulator类型监控吗

Hi

没有名为 accumulator 的metrics类型数据,目前只有Counters, Gauges, Histograms 和 Meters [1] 
这四种,如果你想要用累积型metrics,可以考虑counters

[1] 
https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/metrics.html#metric-types

祝好
唐云

________________________________
From: 赵一旦 <[email protected]>
Sent: Friday, August 28, 2020 10:53
To: [email protected] <[email protected]>
Subject: Re: flink prometheus 无法上报accumulator类型监控吗

hi,有人回答下这个问题吗。

赵一旦 <[email protected]> 于2020年8月21日周五 下午4:20写道:

> 如题,没找到accumulator类型数据,metric之类找到了,但是accumulator类没找到。
>

回复