spring: application: name: dil-cd-service profiles: active: dev zipkin: base-url: http://${ZIPKIN_HOST:localhost}:9411 sleuth: sampler: #默认值为0.1f,现在为了测试设置100%采集 percentage: 1.0 cloud: config: fail-fast: false discovery: enabled: false service-id: config-server bus: trace: enabled: false enabled: false server: port: 80 eureka: client: serviceUrl: defaultZone: http://root:root@${EUREKA_HOST:localhost}:${EUREKA_PORT:8061}/eureka/ # defaultZone: http://root:root@http://172.16.2.149:32101/eureka/ metadata-map: cluster: ribbon instance: hostname: dil-cd-service status-page-url: http://${SWAGGER_INDEX:tgwl.steerinfo.com}/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: '*' feign: client: config: default: connect-timeout: 5000 read-timeout: 10000