@@ -94,6 +94,11 @@
<version>2.2.10.RELEASE</version>
</dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ </dependency>
+
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
@@ -43,4 +43,13 @@ eureka:
prefer-ip-address: true
client:
register-with-eureka: true
- fetch-registry: true
+ fetch-registry: true
+management:
+ endpoints:
+ web:
+# base-path: /api/user/actuator
+ exposure:
+ include: "*"
+ metrics:
+ tags:
+ application: ${spring.application.name}