知识卡片
Prometheus拉取指标
Prometheus周期抓取目标指标,以标签组织时间序列并用PromQL查询。持续计数可跨抓取间隔保留累计量,生命周期短且未被抓取的进程数据可能丢失;本地存储的保留和长期方案需按规模设计。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Observability and Operational Readiness · 查看原书依据
At its core, Prometheus employs a pull-based architecture where it scrapes metrics from configured targets at regular intervals. This approach provides reliable metrics collection even in highly dynamic environments where services come and go frequently.
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第10章《Observability and Operational Readiness》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch10.xhtml)
- 结论依据:原文的机制或对比支持以下核心判断:Prometheus周期抓取目标指标,以标签组织时间序列并用PromQL查询。 本卡将相邻说明中的适用限制保留为解释。
- 原始内容:At its core, Prometheus employs a pull-based architecture where it scrapes metrics from configured targets at regular intervals. This approach provides reliable metrics collection even in highly dynamic environments where services come and go frequently.