You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by 17610775726 <17...@163.com> on 2023/04/12 08:20:14 UTC

回复:监控flink的prometheus经常OOM

Hi 


这个是可以配置的,可以参考官网 filter.includes[1] 来过滤你想要的 metrics。


[1]https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/deployment/metric_reporters/#filter-includes


Best
JasonLee


---- 回复的原邮件 ----
| 发件人 | casel.chen<ca...@126.com> |
| 发送日期 | 2023年03月22日 12:08 |
| 收件人 | user-zh@flink.apache.org<us...@flink.apache.org> |
| 主题 | 监控flink的prometheus经常OOM |
我们通过pushgateway上报metrics到prometheus,设置的上报周期是30秒,整个实时平台有200多个作业,启了一台50GB的prometheus还是撑不住,指标保留1天,设置了指标在内存中驻留2小时后写入磁盘。最大的一个metric已经有37万条。请问有什么解决办法么?能选择哪些指标进行上报不?