Dav1s
V2EX  ›  问与答

Prometheus 的 Pushgateway 是干嘛用的?

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