Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yaconf
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
yaconf
Commits
f7538c64
Commit
f7538c64
authored
Jun 17, 2021
by
luhongguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:es request
parent
4635cee1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
elasticsearch.ini
elasticsearch.ini
+18
-0
request.ini
request.ini
+31
-0
No files found.
elasticsearch.ini
0 → 100755
View file @
f7538c64
; 公共的配置内容,不区分应用及环境
[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
request.ini
0 → 100755
View file @
f7538c64
[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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment