monitor-single-one-docker-host
来源:互联网 发布:win10 专业版网络受限 编辑:程序博客网 时间:2024/06/09 18:35
参考:https://github.com/vegasbrianc/prometheus
在github上有人使用docker-compose启动Grafana+Prometheus监控单台Host的docker容器
1、 下载项目
$ git clone https://github.com/vegasbrianc/prometheus
2、docker-compose 启动
$ docker-compose up -d
3、docker-compose会下载相关image,为节省时间,可提前下载好
[root@minil prometheus]# docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEgrafana/grafana latest 91db9f85b198 8 days ago 287MBcentos73 1611 7f2120edd8d5 9 days ago 591MBbusybox latest c30178c5239f 4 weeks ago 1.11MBprom/prometheus latest 4da113bb6ae3 4 weeks ago 74.5MBprom/node-exporter latest bb4a6b774658 3 months ago 18.9MBgoogle/cadvisor latest f9ba08bafdea 4 months ago 57.3MBprom/alertmanager latest 47e52777866a 7 months ago 15.7MBprom/pushgateway latest 434efa6ed9db 8 months ago 13.2MBgoogle/cadvisor v0.24.1 cc8254dd08c6 9 months ago 47.8MBgrafana/grafana 2.6.0 6d7d13093476 15 months ago 214MBprom/prometheus 0.17.0 4537d00a5507 16 months ago 58.1MB
image的百度网盘地址:https://pan.baidu.com/disk/home#list/vmode=list&path=%2Fdockerimages%2Fprometheus
4、登录Grafana,配置datasource和dashboard
通过http://:3000登录Grafana界面
Grafana menu -> Data Sources -> Add Data Source
如下配置
Grafana menu -> Dashboards -> Import
选择项目中的Grana_Dashboad.json文件,选择先前配置的数据源
done
阅读全文
0 0
- monitor-single-one-docker-host
- docker-monitor-injector源码分析
- Docker host debian8全配置
- Find that single one.(linear runtime complexity0
- Docker Swarm one-day Tour
- docker环境搭建-啪啪one
- ScrollView can host only one direct child
- ScrollView can host only one direct child
- ScrollView can host only one direct child
- Remove one known host in ubuntu
- android: ScrollView can host only one direct
- ScrollView can host only one direct child
- scrollview can host only one direct child
- ScrollView can host only one direct child
- ScrollView can host only one direct child
- ScrollView can host only one direct child
- depoy ceph on one host/server
- ScrollView can host only one direct child
- PHP7.0新特性
- 详解在visual studio中使用git版本系统(图文)
- IP地址之子网划分
- 适配器模式
- Fortran 95简单教程(
- monitor-single-one-docker-host
- Delphi程序设计中的鼠标控制
- spring框架搭建
- OpenCV3.2.0在VS2015上的配置
- Volatile关键字详解
- 获取系统信息2——linux中使用随机数
- PHP实现队列及队列原理
- opencl_1
- 【DFS】coj 1061 【魔方系列】最大色块