Commit 4afe8621 by 姜海波

调整

parent f0dedf6b
...@@ -339,21 +339,16 @@ ...@@ -339,21 +339,16 @@
<!-- promtheus --> <!-- promtheus -->
<dependency> <dependency>
<groupId>io.prometheus</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>simpleclient_spring_boot</artifactId> <artifactId>spring-boot-starter-actuator</artifactId>
<version>0.8.0</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.micrometer</groupId> <groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId> <artifactId>micrometer-spring-legacy</artifactId>
<version>0.12.0.RELEASE</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.micrometer</groupId> <groupId>io.micrometer</groupId>
<artifactId>micrometer-spring-legacy</artifactId> <artifactId>micrometer-registry-prometheus</artifactId>
<version>0.8.0.RELEASE</version>
</dependency> </dependency>
......
...@@ -10,8 +10,8 @@ spring.redis.pool.max-active = 100 ...@@ -10,8 +10,8 @@ spring.redis.pool.max-active = 100
jasypt.encryptor.bean = jasyptStringEncryptorFreemud jasypt.encryptor.bean = jasyptStringEncryptorFreemud
##### eureka ##### eureka
###eureka.instance.preferIpAddress = true ###eureka.instance.preferIpAddress = true
eureka.client.register-with-eureka=true eureka.client.register-with-eureka=false
eureka.client.fetch-registry=true eureka.client.fetch-registry=false
eureka.client.serviceUrl.defaultZone = http://localhost:8080/eureka/ eureka.client.serviceUrl.defaultZone = http://localhost:8080/eureka/
eureka.instance.prefer-ip-address = true eureka.instance.prefer-ip-address = true
eureka.instance.instance-id = ${spring.cloud.client.ipAddress}:${server.port} eureka.instance.instance-id = ${spring.cloud.client.ipAddress}:${server.port}
...@@ -273,11 +273,11 @@ open.store.adapter.callback.service.url = ...@@ -273,11 +273,11 @@ open.store.adapter.callback.service.url =
alloc.url = alloc.url =
saas.activityapplicationclient.feign.url = saas.activityapplicationclient.feign.url =
endpoints.enabled = false endpoints.enabled=false
endpoints.info.enabled = true endpoints.info.enabled=true
endpoints.health.enabled = true endpoints.health.enabled=true
endpoints.prometheus.enabled = true endpoints.prometheus.enabled=true
management.security.enabled = false management.security.enabled=false
eureka.instance.preferIpAddress = true eureka.instance.preferIpAddress = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment