![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
prometheus
qq_44730667
这个作者很懒,什么都没留下…
展开
-
安装promrtheus,gafana,ceph_expoter
先下载安装包 [root@ops001 ~]# wget https://github.com/prometheus/prometheus/releases/download/v2.4.3/prometheus-2.4.3.linux-amd64.tar.gz [root@ops001 ~]# wget https://github.com/prometheus/alertmanager/rele...原创 2020-02-22 22:03:03 · 419 阅读 · 0 评论 -
pushgateway
pushgateway是另⼀种采⽤被动推送的⽅式(⽽不是exporter主动获取)获取监控数据的prometheus 插件,监控可以自定义bash shell python脚本 pushgateway的存在是为了允许临时任务和批处理作业向Prometheus传送数据,因为这些工作可能存在的时间不够长,导致prometheus还没来得及去抓取数据,工作就结束了,因此可以存在pushgateway中,...原创 2019-11-20 18:59:16 · 1662 阅读 · 1 评论 -
promrtheus信息的存储方式
有本地存储,远端存储两种 本地存储即通过时序数据库(TSDB)存在本地,可以实现高性能的读写,大门时存储容量有限 核心是block和WAL。 TSDB按照时间间隔分隔成block,其大小不固定,默认的最小的是2h,TSDB会自动把小的block合成大的, block主要包含chunks,index,meta.json,tombstones四个部分 chunks用来保存压缩后的时序数据,512mb每...原创 2019-11-19 09:57:11 · 306 阅读 · 0 评论