!3 Modify the README.md file

From: @wubijie123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-09-13 08:25:54 +00:00 committed by Gitee
commit ea1e14b14b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 38 additions and 10 deletions

View File

@ -2,7 +2,7 @@
Name: PilotGo-plugin-grafana
Version: 1.0.1
Release: 1
Release: 2
Summary: PilotGo grafana plugin maintains grafana to provide beautiful visual monitoring interface.
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/PilotGo-plugin-grafana
@ -47,6 +47,9 @@ install -D -m 0644 scripts/PilotGo-plugin-grafana.service %{buildroot}%{_unitdir
%changelog
* Wed Sep 13 2023 wubijie <wubijie@kylinos.cn> - 1.0.1-2
- Modify the README.md file
* Fri Sep 01 2023 jianxinyu <jiangxinyu@kylinos.cn> - 1.0.1-1
- Package init

View File

@ -3,21 +3,46 @@
#### 介绍
PilotGo grafana plugin maintains grafana to provide beautiful visual monitoring interface.
#### 软件架构
软件架构说明
#### 使用说明
请确保使用grafana插件之前已经正常运行pilotgo-server应用服务若未安装请通过链接 https://gitee.com/src-openeuler/PilotGo ,按照使用说明进行部署。
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
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
1. xxxx
2. xxxx
3. xxxx
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)
#### 参与贡献