Myluzh Blog

Prometheus 监控 Java 应用和 JVM 性能指标

2024-11-28 myluzh Kubernetes

0x01 配置java项目 1、在java项目中pom.xml添加依赖 <!-- Micrometer Prometheus registry --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-core</artifactId> </dependency> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-regis...

阅读全文>>

标签: java Prometheus jvm micrometer

评论(0) (79)