我理解可以参考 FLIP 中的设计, 基于 Prometheus Remote-Write API v1.0 <https://prometheus.io/docs/concepts/remote_write_spec/> 来初步实现一个 SinkFunction 实现写入 Prometheus
Best, Feng On Fri, Feb 23, 2024 at 7:36 PM 17610775726 <17610775...@163.com> wrote: > Hi > 参考官网, > https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/deployment/metric_reporters/#prometheuspushgateway > > > Best > JasonLee > > > ---- 回复的原邮件 ---- > | 发件人 | casel.chen<casel_c...@126.com> | > | 发送日期 | 2024年02月23日 17:35 | > | 收件人 | user-zh@flink.apache.org<user-zh@flink.apache.org> | > | 主题 | Flink Prometheus Connector问题 | > 场景:使用Flink实时生成指标写入Prometheus进行监控告警 > 网上搜索到 https://github.com/apache/flink-connector-prometheus 项目,但内容是空的 > 另外找到FLIP-312 是关于flink prometheus connector的, > https://cwiki.apache.org/confluence/display/FLINK/FLIP-312%3A+Prometheus+Sink+Connector > 请问Flink官方有没有出flink prometheus connector? > 如果现在要实时写入prometheus的话,推荐的方式是什么?谢谢!