- 后端:引入下 Metrics 相关的包
This commit is contained in:
@@ -75,11 +75,6 @@
|
||||
<artifactId>micrometer-registry-prometheus</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>io.prometheus</groupId>-->
|
||||
<!-- <artifactId>simpleclient_spring_boot</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<!-- 测试相关 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
package cn.iocoder.mall.admin.application.config;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
//@EnablePrometheusEndpoint
|
||||
//@EnableSpringBootMetricsCollector
|
||||
public class MonitorConfiguration {
|
||||
}
|
||||
Reference in New Issue
Block a user