17 Star 0 Fork 5

openEuler / PilotGo-plugin-prometheus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

PilotGo-plugin-prometheus

介绍

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

软件架构

系统环境:openEuler 23.09
开发语言:Golang > 1.18、Vue3、NodeJs > 14

贡献/开发步骤

请提前安装 golang-prometheus-node_exporter、prometheus > 2.28、mysql

$ yum install -y golang-prometheus-node_exporter  
$ yum install -y prometheus > 2.28  
$ yum install -y mysql
  1. 拉取仓库代码
$ git clone https://gitee.com/openeuler/PilotGo-plugin-prometheus.git
  1. 修改配置文件
$ mv ./server/config.yml.templete ./server/config.yml
$ vim ./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. 前端编译
$ cd ./web
$ yarn install 
$ yarn build
  1. 启动插件
$ cd ./server
$ go run main.go

网页查看 http://ip:8090/plugin/prometheus

补充链接

  1. PilotGo使用手册
  2. PilotGo代码仓
  3. PilotGo软件包仓

特技

  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. 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/openeuler/PilotGo-plugin-prometheus.git
git@gitee.com:openeuler/PilotGo-plugin-prometheus.git
openeuler
PilotGo-plugin-prometheus
PilotGo-plugin-prometheus
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891