Files
nexus/wiki/concepts/SyntheticMonitoring.md
2026-04-27 16:26:34 +08:00

53 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Synthetic Monitoring"
type: concept
tags: [monitoring, devops, uptime, availability]
last_updated: 2026-04-26
---
## Synthetic Monitoring合成监控
**中文名称:** 合成监控 / 主动式可用性监控
**类型:** 监控方法论
**别名:**
- 合成监控
- 主动监控
- Blackbox Monitoring
- Uptime Monitoring
- Ping Monitoring
---
## Definition
合成监控Synthetic Monitoring是通过**主动发起模拟请求**HTTP/DNS/TCP/ICMP来探测服务端点可用性、响应时间和功能正确性的监控方式与之对应的是基于真实用户流量的 RUMReal User Monitoring
**核心特点:**
- 不依赖真实用户流量,可在服务上线前发现问题
- 覆盖内网/外网所有端点
- 支持 TLS 证书到期监控
- DNS 解析可用性验证
- 细粒度延迟和状态码追踪
**代表工具:**
- **Blackbox ExporterPrometheus 生态):** 探测指标暴露到 Prometheus支持 PromQL 告警规则集成
- **Uptime Kuma** 开源自托管 uptime monitoring支持 HTTP/TCP/DNS/TLS历史记录 + 告警通知
---
## 与 Real User Monitoring 的区别
| 维度 | 合成监控 | 真实用户监控 (RUM) |
|------|---------|-----------------|
| 数据来源 | 模拟探针主动探测 | 真实用户请求 |
| 覆盖范围 | 全部端点(含无流量路径) | 仅被访问的路径 |
| 时机 | 可在部署前发现问题 | 依赖真实流量触发 |
| 适用场景 | 可用性 SLA 保障 | 真实用户体验感知 |
---
## Related Sources
- [[家庭监控方案-prometheus-grafana-node-exporter-cadvisor-blackbox]]