摘要: ###引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId> 阅读全文
posted @ 2021-02-24 21:48 dkn 阅读(1307) 评论(0) 推荐(0) 编辑
摘要: ###添加Pom依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <group 阅读全文
posted @ 2021-02-24 21:47 dkn 阅读(356) 评论(0) 推荐(0) 编辑
摘要: Prometheus操作指南 -- http://www.mianshigee.com/tutorial/prometheus-book/readme.md prometheus的数据类型介绍 -- https://blog.csdn.net/polo2044/article/details/832 阅读全文
posted @ 2021-02-24 21:46 dkn 阅读(1264) 评论(0) 推荐(0) 编辑
摘要: 特别注意:防止发送通知过快或频繁,导致警告通知轰炸 ###下载alertmanager 下载地址:https://prometheus.io/download/ 下载解压之后直接双击exe文件启动,打开 http://localhost:9093,等 prometheus配置之后重启等会, ###修 阅读全文
posted @ 2021-02-24 21:45 dkn 阅读(1027) 评论(0) 推荐(0) 编辑
摘要: 下载地址:https://github.com/prometheus/node_exporter/releases ###执行命令: ./node_exporter 启动之后,访问 http://10.0.0.70:9100/metrics ###修改prometheus.yml文件,加入任务,然后 阅读全文
posted @ 2021-02-24 21:30 dkn 阅读(197) 评论(0) 推荐(0) 编辑
摘要: ###安装mysqld_exporter 去官网下载对应版本:https://prometheus.io/download/ ###创建my.cnf文件 [client] host=127.0.0.1 port=3306 user=root password=root ###创建 start.bat 阅读全文
posted @ 2021-02-24 20:57 dkn 阅读(670) 评论(0) 推荐(0) 编辑
摘要: ###前言: dashboards模版id 7362 mysql 10467 监控物理机/虚拟机(windows) 8919 监控物理机/虚拟机(linux) 9614 nginx 12856 spring boot 监控容器 推荐ID 3146 8685 10000 8588 315 监控协议ht 阅读全文
posted @ 2021-02-24 20:05 dkn 阅读(7017) 评论(0) 推荐(0) 编辑
摘要: ###1.准备工作 prometheus 和 InfluxDB 都是 时序数据库,都可以在程序中埋点监控 官网地址:https://prometheus.io/download/ 官网地址:https://grafana.com/grafana/download prometheus github地 阅读全文
posted @ 2021-02-24 19:53 dkn 阅读(367) 评论(0) 推荐(0) 编辑