PilotGo-plugin-prometheus:基于 Prometheus 的集群监控与告警插件项目

PilotGo prometheus plugin provides cluster monitor and alert.

分支12Tags7
文件最后提交记录最后更新时间
2 年前
2 年前
2 年前
2 年前
2 年前

PilotGo-plugin-prometheus

介绍

PilotGo prometheus 插件提供了集群监控看板和告警功能。

使用说明

请确保使用prometheus插件之前已经正常运行pilotgo-server应用服务,若未安装,请通过链接 https://gitee.com/src-openeuler/PilotGo ,按照使用说明进行部署。

  1. 安装prometheus插件
dnf install -y PilotGo-plugin-prometheus
  1. 修改配置文件
vim /opt/PilotGo/plugin/prometheus/server/config.yml  

plugin_prometheus: url地址ip为插件服务启动ip
prometheus_server: 安装prometheus的地址
http_server: 插件服务启动地址
pilotgo_server: PilotGo server服务地址
mysql: host为安装DB的主机ip;user为DB的登录用户;password为DB访问密码

  1. 启动服务 systemctl start PilotGo-plugin-prometheus
    停止服务 systemctl stop PilotGo-plugin-prometheus
    服务状态 systemctl status PilotGo-plugin-prometheus

  2. 将prometheus插件服务注册到PilotGo平台 [插件管理] -> [添加插件] -> 插件名称:prometheus;插件地址:http://ip:端口(默认8090) -> [启用插件]
    启用成功,即可在PilotGo平台查看prometheus插件看板;若启动失败,通过 /opt/PilotGo/plugin/prometheus/server/log 查看插件报错原因。

源码仓库

https://gitee.com/openeuler/PilotGo-plugin-prometheus

特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. Gitee 官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
  4. GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
  5. Gitee 官方提供的使用手册 https://gitee.com/help
  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/

项目介绍

PilotGo prometheus plugin provides cluster monitor and alert.

定制我的领域