![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
智能运维
敲敲点点中的蚂蚁
人生需要不止的学习和奋斗,编程亦是如此,做一个诗一样的编程者
展开
-
智能运维-Prometheus时序数据库PromQL使用(基本语法、API调用等)
一、PromQL 基本使用 PromQL (Prometheus Query Language) 是 Prometheus 自己开发的数据查询 DSL 语言,语言表现力非常丰富,内置函数很多,在日常数据可视化以及rule 告警中都会使用到它。在页面 http://localhost:9090/graph 中,输入下面的查询语句,查看结果,例如:http_requests_to...原创 2020-04-22 10:29:43 · 3421 阅读 · 0 评论 -
智能运维—Zabbix安装
zabbix服务器平台安装配置,拒绝踩坑。原创 2020-03-20 17:07:15 · 173 阅读 · 0 评论 -
智能运维—Prometheus监控组件配置(pushgateway、node-exporter、mysql-exporter、k8s)
1、安装prometheus服务1)下载软件包#wget https://github.com/prometheus/prometheus/releases/download/v2.15.2/prometheus-2.15.2.linux-amd64.tar.gz注: wget 没安装 使用 #yum install wget -y2)解压软件包#tar -zxvf prom...原创 2020-03-20 17:06:10 · 1480 阅读 · 0 评论 -
智能运维-prometheus自动发现被监控节点的配置方法
文章目录1、**Prometheus**自动发现被监控节点的配置方法?即图中的discover targets的file_sd方式1)创建json文件2)在prometheus配置文件中添加新的job3)有新的metrics节点加入时直接修改在json文件添加4)重新加载targets能够发现新的监控节点已经加入,无需重启服务器2、找一个Short-lived Jobs的示例,配置其向**Push...原创 2020-03-26 10:06:39 · 1055 阅读 · 0 评论 -
智能运维-Pushgateway推送监控指标给Prometheus的配置
文章目录找一个Short-lived Jobs的示例,配置其向**Pushgateway**推送监控指标?1)安装pushgateway2) 在prometheus配置文件中添加pushgateway3)API的方式Push数据到pushgateway4)数据push成功截图找一个Short-lived Jobs的示例,配置其向Pushgateway推送监控指标?1)安装pushgateway...原创 2020-03-26 10:09:58 · 1361 阅读 · 0 评论