0
点赞
收藏
分享

微信扫一扫

自然语言处理从入门到应用——LangChain:模型(Models)-[聊天模型(Chat Models):使用少量示例和响应流式传输]

伽马星系 2023-07-30 阅读 52
flink

思路方案

FlinkMtrics->pushgateway->prometheus->grafnana->altermanager

方案 : Flink任务先将数据推到pushgateway。然后pushgateway将值推送到prometheus,最后grafana展示prometheus中的值,

去这个 https://prometheus.io/download/ 下载最新的 Prometheus 和 pushgateway
下载grafana 去 https://grafana.com/grafana/download?pg=get&plcmt=selfmanaged-box1-cta1

得到了
pushgateway-1.6.0.linux-amd64.tar.gz
grafana-enterprise-10.0.2-1.x86_64.rpm
prometheus-2.45.0.linux-amd64.tar.gz

rpm -i grafana-enterprise-9.0.2-1.x86_64.rpm
错误:依赖检测失败:
        fontconfig 被 grafana-enterprise-10.0.2-1.x86_64 需要
        urw-fonts 被 grafana-enterprise-10.0.2-1.x86_64 需要

修改成
sudo yum install grafana-enterprise-9.0.2-1.x86_64.rpm


1.启动 pushgateway
nohup ./pushgateway &
去 http://172.16.150.xx:9091/  查看 有ui就是成功

2.启动 prometheus
vim prometheus.yml   在scrape_configs中,修改成下面的样式

举报

相关推荐

0 条评论