application.yml 725 Bytes
Newer Older
1 2
spring:
  application:
3
    name: eureka-example
4 5 6
  cloud:
    config:
      enabled: false
7
# tag::configuration-eureka[]
8 9
eureka:
  instance:
10 11 12 13 14
    leaseRenewalIntervalInSeconds: 10
  client:
    registryFetchIntervalSeconds: 5
    serviceUrl:
      defaultZone: ${EUREKA_SERVICE_URL:http://localhost:8761}/eureka/
15
# end::configuration-eureka[]
16

17
# tag::configuration-ui-hystrix[]
18
spring.boot.admin.routes.endpoints: env,metrics,trace,dump,jolokia,info,configprops,trace,logfile,refresh,flyway,liquibase,heapdump,loggers,hystrix.stream
19
# end::configuration-ui-hystrix[]
20 21 22 23 24 25

# tag::configuration-ui-turbine[]
spring.boot.admin.turbine:
  clusters: default
  url: http://localhost:8989/turbine.stream
# end::configuration-ui-turbine[]