监控体系的核心拼图:Prometheus 如何解决可观测性痛点
在微服务与容器化架构普及的今天,传统的日志排查和单机监控已无法应对分布式系统的复杂性。应用崩溃、接口延迟飙升、资源瓶颈这些问题的定位往往滞后且困难。本课程聚焦 Prometheus 从部署到高级特性的完整实践,解决的核心问题是:如何在复杂的生产环境中构建一套标准化、高效且可扩展的监控与告警体系,让开发者能够从被动救火转向主动发现异常。
适合有一定后端开发基础,熟悉 Linux 操作及基本网络概念的读者。无论你是负责 Kubernetes 集群运维的 SRE,还是需要自建监控方案的 Java/Go 开发者,都能从中获得落地的工程参考。课程不涉及过于深奥的数学原理,而是侧重于组件间的配合与代码集成,强调“拿来即用”的工程能力。
学习路径建议与核心模块拆解
建议不要按顺序线性播放,而是根据当前需求跳跃式学习。入门阶段优先关注基础组件安装与 `prometheus.yml` 配置文件的编写逻辑,理解 Targets、Job 与 Service Discovery 的关系,这是构建监控网的基础。进阶部分重点研读自定义 Exporter 的开发实践,特别是如何为自研业务系统编写指标采集器,这是 Prometheus 灵活性的核心体现。此外,Rule 规则文件的编写以及 Alertmanager 的路由匹配策略是打通告警闭环的关键,务必结合具体场景反复调试。对于 Grafana 的联动配置,可作为可视化层的补充了解,重点在于理解数据来源而非图表美化。
学后能力与资料配合练习指南
完成课程练习后,你将能够独立搭建高可用的 Prometheus 监控集群,针对不同技术栈(如 MySQL、Redis、Nginx 或自研服务)接入相应的 Exporter,并编写符合业务语义的 PromQL 查询语句进行数据提取。更重要的是,你能配置精细化的告警规则,通过 Alertmanager 实现分级通知,确保关键故障能被及时感知和处理。
资料包中的示例配置和项目源码是练习的关键。请勿仅观看视频演示,而应下载对应章节的配置文件,在自己的测试环境中进行部署、修改参数、触发告警并观察效果。通过对照源码修改 Exporter 逻辑,深入理解指标类型、标签选择器以及查询语言的实际运用,这样才能真正将知识转化为工程生产力,避免“看懂了却不会配”的尴尬局面。
b32f3c1ba844531b59b5ef91f3cca0fc_081144t98xx0x8ox08uxyo.png
(70.72 KB, 下载次数: 38)
下载附件
保存到相册
2024-3-21 00:34 上传
目录:
1 什么是监控.mp4
2 监控的目标.mp4
3 监控的方式-白盒监控或黑盒监控.mp4
4 监控方法论-四大黄金指标-USE-RED.mp4
5 Prometheus是什么.mp4
6 Prometheus时序数据.mp4
7 Prometheus的特点.mp4
8 Prometheus数据采集三种方式.mp4
9 Prometheus作业与实例.mp4
10 Prometheus的架构.mp4
11 Prometheus的数据模型.mp4
12 Prometheus安装.mp4
13 部署Grafana.mp4
14 Prometheus抓取Grafana指标.mp4
15 安装node_exporter.mp4
16 Prometheus抓取Node节点.mp4
17 node_exporter相关指标详解.mp4
18 PromQL介绍及应用场景.mp4
19 PromQL指标查询.mp4
20 PromQL时间范围与同环比分析.mp4
21 Counter类型常用函数.mp4
22 Gauge类型常用函数.mp4
23 PromQL算数运算符及案例实践.mp4
24 PromQL比较运算及实践.mp4
25 PromQL集合运算及实践.mp4
26 PromQL聚合介绍及示例.mp4
27 PromQL聚合实战案例.mp4
28 PromQL时间聚合介绍与案例.mp4
29 PromQL向量一对一匹配介绍与实战.mp4
30 PromQL向量一对多匹配介绍与实战.mp4
31 PromQL向量匹配实战案例.mp4
32 PromQL监控案例说明.mp4
33 CPU监控案例实践.mp4
34 内存监控案例实践.mp4
35 磁盘监控案例实践.mp4
36 网络监控案例实践.mp4
37 监控案例场景说明.mp4
38 Prometheus监控Haproxy.mp4
39 Haproxy前端常用指标讲解与实践.mp4
40 Haproxy后端常用指标讲解与实践.mp4
41 Prometheus监控RabbitMQ.mp4
42 Rabbitmq常用指标讲解与实践.mp4
43 Prometheus监控Nginx.mp4
44 Nginx常用指标讲解与实践.mp4
45 Prometheus监控Tomcat.mp4
46 Tomcat常用指标讲解与实践.mp4
47 Prometheus监控SpringBoot.mp4
48 SpringBoot常用JVM指标讲解与实践.mp4
49 Prometheus监控MySQL主从.mp4
50 MySQL主从常用指标讲解与实践.mp4
51 Prometheus监控Redis.mp4
52 Redis常用指标讲解与实践.mp4
53 Prometheus监控Docker容器.mp4
54 docker容器常用指标讲解与实践.mp4
55 01Prometheus结合Blackbox监控站点.mp4
56 Blackbox常用指标讲解与实践.mp4
57 Prometheus结合Domain监控网站域名过期时间.mp4
58 Domain常用指标讲解与实践.mp4
59 Prometheus结合snmp监控网络设备.mp4
60 PshGateway介绍及监控.mp4
61 编写脚本推送指标至Pushgateway.mp4
62 Pushgateway数据清理方式.mp4
63 什么是AlertManager.mp4
64 AlertManager特性.mp4
65 AlertManager配置说明.mp4
66 安装AlertManager.mp4
67 Prometheus对接AlertManager.mp4
68 AlertManager对接微信告警.mp4
69 AlertManager对接钉钉告警.mp4
70 AlertManager对接短信电话告警.mp4
71 AlertManager告警路由介绍及实践.mp4
72 AlertManager告警静默介绍及实践.mp4
73 AlertManager告警抑制介绍及实践.mp4
74 AlertManager高可用介绍.mp4
75 AlertManager高可用实践.mp4
76 为什么需要服务发现.mp4
77 Prometheus基于文件自动发现实践.mp4
78 Prometheus基于Consul自动发现实践.mp4
79 为什么需要Relabel.mp4
80 Relabel配置解读.mp4
81 Relabel实践-replace.mp4
82 Relabel实践-keep.mp4
83 Relabel实践-drop.mp4
84 Relabel实践-labelmap.mp4
85 Prometheus基于K8S的服务发现介绍.mp4
86 二进制Prometheus监控K8S-APIServer实践.mp4
87 监控Kubernetes需要的思路.mp4
88 部署监控组件的思路及环境.mp4
89 交付微信webhook至K8S集群.mp4
90 交付钉钉webhook至K8S集群.mp4
91 交付钉钉webhook至K8S集群 (1).mp4
92 交付AlertManager高可用至K8S集群.mp4
93 验证AlertManager配置以及告警路由.mp4
94 交付Prometheus至K8S集群.mp4
95 交付Grafana至K8S集群.mp4
96 交付Blackbox至K8S集群.mp4
97 使用DamonSet部署node-exporter.mp4
98 配置Prometheus监控K8S的Node节点.mp4
99 监控Kubernetes控制组件思路和策略.mp4
100 Prometheus监控APIServer.mp4
101 APIServer常用指标与告警规则讲解.mp4
102 Prometheus监控ControllerManager.mp4
103 ControllerManager常用指标讲解.mp4
104 Prometheus监控kube-schduler.mp4
105 kube-scheduler常用指标与规则文件讲解.mp4
106 Prometheus监控etcd数据库.mp4
107 etcd常用指标与告警规则文件讲解.mp4
108 Prometheus监控CoreDNS.mp4
109 CoreDNS的常用指标与告警规则文件讲解.mp4
110 Prometheus监控kube-proxy.mp4
111 kube-proxy常用指标与告警规则文件讲解.mp4
112 集群资源状态及KSM部署与监控.mp4
113 KSM常用指标与告警规则文件讲解-1.mp4
114 KSM常用指标与告警规则文件讲解-2.mp4
115 Prometheus监控Pod的计算资源.mp4
116 Prometheus监控Service资源.mp4
117 Prometheus监控Ingress资源.mp4
118 案例1-使用Prometheus监控Redis的Pod应用.mp4
119 案例2-使用Prometheus监控java业务应用的Pod.mp4
120 使用relabele结合Annotations实现完全自动化监控.mp4
Prometheus资料(必看).zip