V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
crazychang
V2EX  ›  问与答

Prometheus 的 Pushgateway 是干嘛用的?

  •  
  •   crazychang · 2021-12-06 10:38:42 +08:00 · 1094 次点击
    这是一个创建于 843 天前的主题,其中的信息可能已经有所发展或是发生改变。

    architecture.png

    刚接触 prometheus 有点懵

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

    8 条回复    2021-12-06 16:49:42 +08:00
    jadehare
        1
    jadehare  
       2021-12-06 10:42:51 +08:00
    小朋友齐打跤
    ss098
        2
    ss098  
       2021-12-06 10:45:39 +08:00
    避免大量流量冲垮 Prometheus 本身。
    maichael
        3
    maichael  
       2021-12-06 10:46:24 +08:00
    metrics 是 prometheus 主动 pull 的。
    yuancoder
        4
    yuancoder  
       2021-12-06 10:48:18 +08:00
    指标是 prometheus 直接 pull 的,有些服务没办法支持这种模式,所以才有了 Pushgateway
    zephyrinzephyr
        5
    zephyrinzephyr  
       2021-12-06 10:48:30 +08:00
    prometheus 只能 pull 不能 push ,如果有 metrics 需要 push 到 prometheus 就需要先 push 到 pushgateway ,然后 prometheus 再从 pushgateway 去 pull
    crazychang
        6
    crazychang  
    OP
       2021-12-06 10:58:22 +08:00
    谢谢大哥们~
    Exin
        7
    Exin  
       2021-12-06 15:15:30 +08:00
    这头像,D⬇️A, J, A
    crazychang
        8
    crazychang  
    OP
       2021-12-06 16:49:42 +08:00
    @Exin hhh
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3022 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 14:41 · PVG 22:41 · LAX 07:41 · JFK 10:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.