Commit 4afe8621 by 姜海波

调整

parent f0dedf6b
......@@ -339,21 +339,16 @@
<!-- promtheus -->
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_spring_boot</artifactId>
<version>0.8.0</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<version>0.12.0.RELEASE</version>
<artifactId>micrometer-spring-legacy</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-spring-legacy</artifactId>
<version>0.8.0.RELEASE</version>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
......
......@@ -10,8 +10,8 @@ spring.redis.pool.max-active = 100
jasypt.encryptor.bean = jasyptStringEncryptorFreemud
##### eureka
###eureka.instance.preferIpAddress = true
eureka.client.register-with-eureka=true
eureka.client.fetch-registry=true
eureka.client.register-with-eureka=false
eureka.client.fetch-registry=false
eureka.client.serviceUrl.defaultZone = http://localhost:8080/eureka/
eureka.instance.prefer-ip-address = true
eureka.instance.instance-id = ${spring.cloud.client.ipAddress}:${server.port}
......@@ -273,11 +273,11 @@ open.store.adapter.callback.service.url =
alloc.url =
saas.activityapplicationclient.feign.url =
endpoints.enabled = false
endpoints.info.enabled = true
endpoints.health.enabled = true
endpoints.prometheus.enabled = true
management.security.enabled = false
endpoints.enabled=false
endpoints.info.enabled=true
endpoints.health.enabled=true
endpoints.prometheus.enabled=true
management.security.enabled=false
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