forked from bentoml/BentoML
/
default_configuration.yaml
58 lines (55 loc) 路 1.13 KB
/
default_configuration.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
api_server:
port: 3000
host: 0.0.0.0
backlog: 2048
workers: 1
timeout: 60
max_request_size: 20971520
metrics:
enabled: True
namespace: BENTOML
logging:
access:
enabled: True
request_content_length: True
request_content_type: True
response_content_length: True
response_content_type: True
cors:
enabled: False
access_control_allow_origin: Null
access_control_allow_credentials: Null
access_control_allow_methods: Null
access_control_allow_headers: Null
access_control_max_age: Null
access_control_expose_headers: Null
runners:
batching:
enabled: True
max_batch_size: 100
max_latency_ms: 10000
resources: ~
logging:
access:
enabled: True
request_content_length: True
request_content_type: True
response_content_length: True
response_content_type: True
timeout: 300
tracing:
type: zipkin
sample_rate: Null
excluded_urls: Null
zipkin:
url: Null
jaeger:
address: Null
port: Null
otlp:
protocol: Null
url: Null
logging:
formatting:
trace_id_format: 032x
span_id_format: 016x