Commit f7538c64 authored by luhongguang's avatar luhongguang

update:es request

parent 4635cee1
; 公共的配置内容,不区分应用及环境
[common]
[goods : common]
; 生产环境
[prod-goods : goods : common]
; 预发环境
[perf-goods : prod-goods : goods : common]
;测试测试
[test-goods : prod-goods : goods : common]
goods.host="http://10.126.154.152:40000"
;开发联调测试
[dev-goods : prod-goods : goods : common]
goods.host="http://10.126.154.152:40000"
\ No newline at end of file
[common]
hystrix.fallback.enabled = true
hystrix.circuitBreaker.enabled = true
;失败率达到多少百分比后熔断
hystrix.circuitBreaker.errorThresholdPercentage = 40
hystrix.circuitBreaker.forceOpen = false
hystrix.circuitBreaker.forceClosed = false
;一个统计窗口内熔断触发的最小个数/10s
hystrix.circuitBreaker.requestVolumeThreshold = 10
;熔断多少秒后去尝试请求
hystrix.circuitBreaker.sleepWindowInMilliseconds = 5000
;采样时间间隔
hystrix.metrics.healthSnapshotIntervalInMilliseconds = 1000
;设置统计滚动窗口的长度,以毫秒为单位。用于监控和熔断器。
hystrix.metrics.rollingStatisticalWindowInMilliseconds = 1000
;设置统计窗口的桶数量
hystrix.metrics.rollingStatisticalWindowBuckets = 10
;设置是否缓存请求
hystrix.requestCache.enabled = true
;设置HystrixCommand执行和事件是否打印到HystrixRequestLog中
hystrix.requestLog.enabled = false
[goods]
log.exclude[] = 'codis-api-vpn-dashboard.int.yidian-inc.com'
[prod-goods : goods : common]
[perf-goods : goods : common]
[test-goods : goods : common]
log.exclude[] = '10.126.150.23'
[dev-goods : test-goods : goods : common]
log.exclude[] = '10.126.150.23'
\ 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