2023-09-13 15:16:42 +08:00

63 lines
2.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# PilotGo-plugin-grafana
#### 介绍
PilotGo grafana plugin maintains grafana to provide beautiful visual monitoring interface.
#### 使用说明
请确保使用grafana插件之前已经正常运行pilotgo-server应用服务若未安装请通过链接 https://gitee.com/src-openeuler/PilotGo ,按照使用说明进行部署。
#### 安装教程
1. 安装grafana
2. 安装PilotGo-plugin-grafana
>dnf install PilotGo-plugin-grafana
3. 修改配置文件:
>vim /etc/grafana/grafana.ini
>root_url = http://真实ip:9999/plugin/grafana
>serve_from_sub_path = true
>allow_embedding = true
重启grafana服务
>systemctl restart grafana
>vim /opt/PilotGo/plugin/grafana/config.yaml
http_server:addr为安装PilotGo-plugin-grafana地址
grafana_server:addr为安装grafana地址
pilotgo_server:addr为安装PilotGo-server地址
启动服务
>systemctl start PilotGo-plugin-grafana
停止服务
>systemctl stop PilotGo-plugin-grafana
服务状态
>systemctl status PilotGo-plugin-grafana
4. 将grafana插件服务注册到PilotGo平台 [插件管理] -> [添加插件] -> 插件名称grafana插件地址http://ip:端口默认9999 -> [启用插件]
启用成功即可在PilotGo平台查看grafana插件看板若启动失败通过 /opt/PilotGo/plugin/grafana/log 查看插件报错原因。
#### 源码仓库
PilotGo-plugin-grafana[源码仓](https://gitee.com/openeuler/PilotGo-plugin-grafana)
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)