!3 Modify the README.md file
From: @wubijie123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
ea1e14b14b
@ -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
|
||||
|
||||
|
||||
43
README.md
43
README.md
@ -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)
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user