add Monitor

pull/4/head
liruyu 2 years ago
parent a2c7bf32a8
commit 66f1ee2e41

@ -60,6 +60,27 @@ http://localhost:9090/targets
# Grafana
## 安装启动
### Docker安装
```shell
# 启动grafana
docker run -d -p 3000:3000 --name=grafana \
-v /home/soft/monitor/grafana/Grafana-storage:/var/lib/Grafana \
-v /etc/localtime:/etc/localtime:ro \
grafana/grafana
```
**使用方式**
- 第一步添加数据源prometheus
- 第二步导入或创建Dashboard
## Node Exporter
据说最好安装在linux上。
@ -176,26 +197,11 @@ https://grafana.com/grafana/dashboards/12900
# Grafana
## 安装启动
### Docker安装
## MySQL
```shell
# 启动grafana
docker run -d -p 3000:3000 --name=grafana \
-v /home/soft/monitor/grafana/Grafana-storage:/var/lib/Grafana \
-v /etc/localtime:/etc/localtime:ro \
grafana/grafana
```
## 使用方式
### 监控模板
- 第一步添加数据源prometheus
- 第二步导入或创建Dashboard
https://grafana.com/grafana/dashboards/7362

Loading…
Cancel
Save