Prometheus 初识

本文介绍了一种自行安装Prometheus监控HBase的方法。在等待公司运维同事排期无果的情况下,作者选择了Prometheus作为监控工具,并详细记录了安装过程及如何配置Prometheus来收集HBase的监控数据。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

近期因需要添加一些hbase监控,等公司运维同事的排期等不及,遂撸起袖子自己干;调研了一些开源监控工具,最终选择Prometheus。

  • Prometheus安装

       wget https://github.com/prometheus/prometheus/releases/download/v2.1.0/prometheus-2.1.0.linux-amd64.tar.gz 
       tar xvfz prometheus-*.tar.gz
       cd prometheus-*
    
  • 收集监控数据示例

  • dashboard展示

  • 查询语句
    //查询172.17.15.41:8000 instance 的read请求的qps
    rate(table_read_request_count{instance=”172.17.15.41:8000”}[1m])

参考文档:
https://prometheus.io/docs/
https://prometheus.io/docs/prometheus/latest/querying/examples/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值