12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- spring:
- application:
- name: xt-ems-api
- profiles:
- active: dev
- zipkin:
- base-url: http://${ZIPKIN_HOST:localhost}:9411
- sleuth:
- sampler:
- #默认值为0.1f,现在为了测试设置100%采集
- percentage: 1.0
- cloud:
- config:
- fail-fast: true
- discovery:
- enabled: true
- service-id: config-server
- bus:
- trace:
- enabled: false
- enabled: false
- server:
- port: ${SERVER_PORT:8086}
- tomcat:
- basedir: ${user.home}/tomcat/tmp
- eureka:
- client:
- serviceUrl:
- defaultZone: http://root:root@${EUREKA_HOST:172.16.90.238}:${EUREKA_PORT:8086}/eureka/
- metadata-map:
- cluster: ribbon
- instance:
- hostname: xt-ems-api
- status-page-url: http://${SWAGGER_INDEX:localhost:9003}/swagger-ui.html
- prefer-ip-address: true
- instance-id: ${spring.cloud.client.ip-address}:${server.port}
- #禁止调用eureka client获取注册列表信息
- ribbon:
- eureka:
- enabled: true
- #新版配置,否则后面dashboard无法找到hystrix.stream
- management:
- endpoints:
- web:
- exposure:
- include: '*'
|