Prometheus 的 Pushgateway 是干嘛用的?

2021-12-06 10:38:42 +08:00
 crazychang

刚接触 prometheus 有点懵

metrics 不是用 exporter 推到 prometheus 本体的吗?

1130 次点击
所在节点    问与答
8 条回复
jadehare
2021-12-06 10:42:51 +08:00
小朋友齐打跤
ss098
2021-12-06 10:45:39 +08:00
避免大量流量冲垮 Prometheus 本身。
maichael
2021-12-06 10:46:24 +08:00
metrics 是 prometheus 主动 pull 的。
yuancoder
2021-12-06 10:48:18 +08:00
指标是 prometheus 直接 pull 的,有些服务没办法支持这种模式,所以才有了 Pushgateway
zephyrinzephyr
2021-12-06 10:48:30 +08:00
prometheus 只能 pull 不能 push ,如果有 metrics 需要 push 到 prometheus 就需要先 push 到 pushgateway ,然后 prometheus 再从 pushgateway 去 pull
crazychang
2021-12-06 10:58:22 +08:00
谢谢大哥们~
Exin
2021-12-06 15:15:30 +08:00
这头像,D⬇️A, J, A
crazychang
2021-12-06 16:49:42 +08:00
@Exin hhh

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/820277

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX