/
production.yaml
130 lines (128 loc) · 3.95 KB
/
production.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
clients.bar.defaultHeaders:
X-Client-ID: bar
clients.bar.ip: 127.0.0.1
clients.bar.port: 4001
clients.bar.timeout: 10000
clients.baz.ip: 127.0.0.1
clients.baz.port: 4002
clients.baz.serviceName: Qux
clients.baz.timeout: 10000
clients.baz.timeoutPerAttempt: 2000
clients.baz.maxConcurrentRequests: 1000
clients.baz.errorPercentThreshold: 20
clients.baz.sleepWindowInMilliseconds : 5000
clients.baz.requestVolumeThreshold : 20
clients.contacts.ip: 127.0.0.1
clients.contacts.port: 4000
clients.contacts.timeout: 10000
clients.contacts.maxConcurrentRequests: 1000
clients.contacts.errorPercentThreshold: 20
clients.corge-http.serviceName: CorgeHttp
clients.corge-http.maxConcurrentRequests: 1000
clients.corge-http.errorPercentThreshold: 20
clients.corge.serviceName: Corge
clients.corge.timeout: 10000
clients.corge.timeoutPerAttempt: 2000
clients.corge.maxConcurrentRequests: 1000
clients.corge.errorPercentThreshold: 20
clients.google-now.ip: 127.0.0.1
clients.google-now.port: 14120
clients.google-now.timeout: 10000
clients.google-now.circuitBreakerDisabled: true
clients.googleNowTChannel.connectionType: p2p
clients.googleNowTChannel.hostList:
- 127.0.0.1:4002
clients.googleNowTChannel.timeout: 10000
clients.googleNowTChannel.maxConcurrentRequests: 1000
clients.googleNowTChannel.errorPercentThreshold: 20
clients.multi.ip: 127.0.0.1
clients.multi.port: 4003
clients.multi.timeout: 10000
clients.multi.maxConcurrentRequests: 1000
clients.multi.errorPercentThreshold: 20
clients.withexceptions.ip: 127.0.0.1
clients.withexceptions.port: 4004
clients.withexceptions.timeout: 10000
clients.withexceptions.maxConcurrentRequests: 1000
clients.withexceptions.errorPercentThreshold: 20
contextlogger.zanzibar.skiplogs: false
envVarsToTagInRootScope: []
http.defaultHeaders:
Accept: application/json
Content-Type: application/json
http.port: 7783
http.clients.requestUUIDHeaderKey: x-request-uuid
logger.fileName: /var/log/example-gateway/example-gateway.log
logger.output: disk
metrics.serviceName: example-gateway
metrics.m3.includeHost: true
service.env.config: {}
serviceName: example-gateway
sidecarRouter.default.grpc.ip: 127.0.0.1
sidecarRouter.default.grpc.port: 4998
sidecarRouter.default.http.calleeHeader: RPC-Service
sidecarRouter.default.http.callerHeader: RPC-Caller
sidecarRouter.default.http.ip: 127.0.0.1
sidecarRouter.default.http.port: 4999
sidecarRouter.default.tchannel.ip: 127.0.0.1
sidecarRouter.default.tchannel.port: 5000
tchannel.port: 7784
tchannel.processName: example-gateway
tchannel.serviceName: example-gateway
tchannel.clients.requestUUIDHeaderKey: x-request-uuid
useDatacenter: false
clients.baz.alternates:
routingConfigs:
- headerName: x-container
headerValue: ^sandbox$
serviceName: basicSandbox
rd: reverse-proxy
- headerName: x-test-env
headerValue: ^sandbox$
serviceName: nomatch
servicesDetail:
basicSandbox:
ip: 127.0.0.1
port: 8113
nomatch:
ip: 127.0.0.1
port: 8114
grpc.clientServiceNameMapping:
echo: echo
router.whitelistedPaths:
- /path/whitelisted
circuitbreaking-configurations:
levels:
'1': '0-99'
'2': '100-999'
'3': '1000-9999'
'4': '10000+'
parameters:
'default':
sleepWindowInMilliseconds: 5000
errorPercentThreshold: 20
requestVolumeThreshold: 20
maxConcurrentRequests: 20
'1':
sleepWindowInMilliseconds: 7000
errorPercentThreshold: 10
requestVolumeThreshold: 15
maxConcurrentRequests: 20
'2':
sleepWindowInMilliseconds: 4000
errorPercentThreshold: 15
requestVolumeThreshold: 22
maxConcurrentRequest: 20
'3':
sleepWindowInMilliseconds: 3000
errorPercentThreshold: 25
requestVolumeThreshold: 24
maxConcurrentRequests: 25
'4':
sleepWindowInMilliseconds: 1000
errorPercentThreshold: 30
requestVolumeThreshold: 25
maxConcurrentRequests: 30
service.shadow.env.override.enable: true
dedicated.tchannel.client: false
apiEnvironmentHeader: x-api-environment