<artifactId>micrometer-registry-prometheus</artifactId> </dependency> 這個(gè)依賴將引入Micrometer,它是一個(gè)度量數(shù)據(jù)庫抽象庫,用于在Spring Boot應(yīng)用程序中收集度量數(shù)據(jù),并將其暴露給不同的監(jiān)控系統(tǒng),包括Prometheus。 步驟2:配置 Prometheus 接下來,您需要配置Prometheus,以告訴它從Spring Boot應(yīng)用程序中收集度量數(shù)據(jù)。在...
www.dbjr.com.cn/program/300171t...htm 2025-5-17