Dav1s
V2EX  ›  问与答

Prometheus 的 Pushgateway 是干嘛用的?

  •  
  •   Dav1s · Dec 6, 2021 · 2788 views
    This topic created in 1792 days ago, the information mentioned may be changed or developed.

    architecture.png

    刚接触 prometheus 有点懵

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

    8 replies  •  2021-12-06 16:49:42 +08:00
    jadehare
    jadehare
    Dec 6, 2021
    1
    小朋友齐打跤
    ss098
    ss098
    Dec 6, 2021
    2
    避免大量流量冲垮 Prometheus 本身。
    maichael
    maichael
    Dec 6, 2021
    3
    metrics 是 prometheus 主动 pull 的。
    yuancoder
    yuancoder
    Dec 6, 2021
    4
    指标是 prometheus 直接 pull 的,有些服务没办法支持这种模式,所以才有了 Pushgateway
    zephyrinzephyr
    zephyrinzephyr
    Dec 6, 2021
    5
    prometheus 只能 pull 不能 push ,如果有 metrics 需要 push 到 prometheus 就需要先 push 到 pushgateway ,然后 prometheus 再从 pushgateway 去 pull
    Dav1s
    Dav1s
    OP
    Dec 6, 2021
    6
    谢谢大哥们~
    Exin
    Exin
    Dec 6, 2021
    7
    这头像,D⬇️A, J, A
    Dav1s
    Dav1s
    OP
    Dec 6, 2021
    8
    @Exin hhh
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1473 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 64ms · UTC 23:21 · PVG 07:21 · LAX 15:21 · JFK 18:21
    ♥ Do have faith in what you're doing.