Commit 64a1d15b by Jason Song

Merge pull request #228 from yiming187/health_check

Update health check config
parents c5e0ca63 165d0b8f
...@@ -9,5 +9,12 @@ eureka: ...@@ -9,5 +9,12 @@ eureka:
enabled: true enabled: true
endpoints: endpoints:
shutdown: health:
enabled: true sensitive: false
\ No newline at end of file
management:
security:
enabled: false
health:
status:
order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
\ No newline at end of file
...@@ -5,4 +5,16 @@ eureka: ...@@ -5,4 +5,16 @@ eureka:
serviceUrl: serviceUrl:
defaultZone: http://${eureka.instance.hostname}:8090/eureka/ defaultZone: http://${eureka.instance.hostname}:8090/eureka/
healthcheck: healthcheck:
enabled: true enabled: true
\ No newline at end of file
endpoints:
health:
sensitive: false
management:
security:
enabled: false
health:
status:
order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
\ No newline at end of file
...@@ -11,5 +11,12 @@ eureka: ...@@ -11,5 +11,12 @@ eureka:
enabled: true enabled: true
endpoints: endpoints:
shutdown: health:
enabled: true sensitive: false
\ No newline at end of file
management:
security:
enabled: false
health:
status:
order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
\ No newline at end of file
...@@ -6,4 +6,16 @@ eureka: ...@@ -6,4 +6,16 @@ eureka:
serviceUrl: serviceUrl:
defaultZone: http://${eureka.instance.hostname}:8080/eureka/ defaultZone: http://${eureka.instance.hostname}:8080/eureka/
healthcheck: healthcheck:
enabled: true enabled: true
\ No newline at end of file
endpoints:
health:
sensitive: false
management:
security:
enabled: false
health:
status:
order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
\ No newline at end of file
...@@ -12,7 +12,14 @@ server: ...@@ -12,7 +12,14 @@ server:
logging: logging:
file: /opt/logs/100003173/apollo-portal.log file: /opt/logs/100003173/apollo-portal.log
endpoints: endpoints:
shutdown: health:
enabled: true sensitive: false
management:
security:
enabled: false
health:
status:
order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
...@@ -16,3 +16,15 @@ ctrip: ...@@ -16,3 +16,15 @@ ctrip:
apollo: apollo:
portal: portal:
env: local env: local
endpoints:
health:
sensitive: false
management:
security:
enabled: false
health:
status:
order: DOWN, OUT_OF_SERVICE, UNKNOWN, UP
\ No newline at end of file
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