zealinux
V2EX  ›  Java

Spring cloud 如何能接入 prometheus?

  •  
  •   zealinux · Nov 23, 2019 · 3377 views
  •   You need to sign in to view this topic
    This topic created in 2373 days ago, the information mentioned may be changed or developed.

    查看了很大网上资料,都是集成到 spring boot 上的。

    如果在 Spring cloud 下有很多应用服务。
    岂不是要每个服务都需要集成一遍 prometheus ?

    有没有什么好的方式,只需要写一个 client,然后注册到 Eureka 上,
    则接受所有的 Eureka client 服务上的指标(比如 actuator )?

    或者能否直接将 Spring cloud admin 的数据发送到 prometheus 上去

    1 replies    2019-11-23 18:44:05 +08:00
    967182
        1
    967182  
       Nov 23, 2019
    cloud admin 不也是每个 service 都要有 client 包吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2758 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 10:20 · PVG 18:20 · LAX 03:20 · JFK 06:20
    ♥ Do have faith in what you're doing.