-
Notifications
You must be signed in to change notification settings - Fork 379
Expand file tree
/
Copy pathstatic_config.yaml
More file actions
157 lines (146 loc) · 5.42 KB
/
static_config.yaml
File metadata and controls
157 lines (146 loc) · 5.42 KB
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
components_manager:
components:
congestion-control:
fake-mode: $testsuite-enabled
load-enabled: true
dump-configurator:
dump-root: $userver-dumps-root
handler-implicit-http-options:
as_fallback: implicit-http-options
method: OPTIONS
task_processor: main-task-processor
throttling_enabled: false
handler-inspect-requests:
path: /service/inspect-requests
method: GET
task_processor: monitor-task-processor
handler-jemalloc:
path: /service/jemalloc/prof/{command}
method: POST
task_processor: monitor-task-processor
handler-log-level:
path: /service/log-level/{level}
method: GET,PUT
task_processor: monitor-task-processor
handler-on-log-rotate:
path: /service/on-log-rotate/
method: POST
task_processor: monitor-task-processor
handler-dynamic-debug-log:
path: /service/log/dynamic-debug
method: GET,PUT,DELETE
task_processor: monitor-task-processor
handler-dns-client-control:
path: /service/dnsclient/{command}
method: POST
task_processor: monitor-task-processor
handler-server-monitor:
path: /service/monitor
method: GET
task_processor: monitor-task-processor
handler-ping:
path: /ping
method: GET
task_processor: main-task-processor # !!!
throttling_enabled: false
url_trailing_slash: strict-match
http-client:
fs-task-processor: fs-task-processor
user-agent: $server-name
user-agent#fallback: 'userver-based-service 1.0'
http-client-statistics:
fs-task-processor: fs-task-processor
pool-statistics-disable: true
thread-name-prefix: stats
user-agent: $server-name
dns-client:
fs-task-processor: fs-task-processor
logging:
fs-task-processor: fs-task-processor
loggers:
access:
file_path: $access-log-path
file_path#fallback: /var/log/company-name/service-name/access.log
overflow_behavior: discard
format: raw
access-tskv:
file_path: $access-tskv-log-path
file_path#fallback: /var/log/company-name/service-name/access_tskv.log
overflow_behavior: discard
format: raw
default:
file_path: $default-log-path
file_path#fallback: /var/log/company-name/service-name/server.log
level: $logger-level
level#fallback: info
overflow_behavior: discard
logging-configurator:
limited-logging-enable: true
limited-logging-interval: 1s
secdist: {}
server:
listener:
port: $server-port
port#fallback: 8085
connection:
in_buffer_size: 32768
requests_queue_size_threshold: 100
task_processor: main-task-processor
listener-monitor:
port: $monitor-server-port
port#fallback: 8086
connection:
in_buffer_size: 32768
requests_queue_size_threshold: 100
task_processor: monitor-task-processor
logger_access: ''
logger_access_tskv: ''
max_response_size_in_flight: 1000000000
server-name: $server-name
system-statistics-collector:
fs-task-processor: fs-task-processor
dynamic-config:
updates-enabled: true
fs-cache-path: $config-cache
fs-task-processor: fs-task-processor
dynamic-config-client:
config-url: $config-server-url
http-retries: 5
http-timeout: 20s
service-name: $service-name
dynamic-config-client-updater:
config-settings: false
first-update-fail-ok: true
full-update-interval: 1m
update-interval: 5s
tests-control:
load-enabled: $testsuite-enabled
path: /tests/{action}
method: POST
task_processor: main-task-processor
testpoint-timeout: 10s
testpoint-url: $mockserver/testpoint
throttling_enabled: false
testsuite-support:
coro_pool:
initial_size: $coro-pool-initial-size
initial_size#fallback: 5000
max_size: $coro-pool-max-size
max_size#fallback: 50000
default_task_processor: main-task-processor
task_processors:
fs-task-processor:
thread_name: fs-worker
worker_threads: $fs_worker_threads
worker_threads#fallback: 2
main-task-processor:
thread_name: main-worker
worker_threads: $main_worker_threads
worker_threads#fallback: 6
monitor-task-processor:
thread_name: mon-worker
worker_threads: $monitor_worker_threads
worker_threads#fallback: 1
event_thread_pool:
threads: $event_threads
threads#fallback: 2