forked from bentoml/BentoML
/
default_configuration.yaml
91 lines (88 loc) · 1.91 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
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
api_server:
workers: ~ # When this is set to null the number of available CPU cores is used.
timeout: 60
backlog: 2048
metrics:
enabled: true
namespace: bentoml_api_server
logging:
access:
enabled: true
request_content_length: true
request_content_type: true
response_content_length: true
response_content_type: true
format:
trace_id: 032x
span_id: 016x
ssl:
certfile: ~
keyfile: ~
keyfile_password: ~
ca_certs: ~
version: 17 # ssl.PROTOCOL_TLS_SERVER
cert_reqs: 0 # ssl.CERT_NONE
ciphers: TLSv1 # default ciphers
http:
host: 0.0.0.0
port: 3000
cors:
enabled: false
access_control_allow_origin: ~
access_control_allow_credentials: ~
access_control_allow_methods: ~
access_control_allow_headers: ~
access_control_max_age: ~
access_control_expose_headers: ~
grpc:
host: 0.0.0.0
port: 3000
max_concurrent_streams: ~
maximum_concurrent_rpcs: ~
max_message_length: -1
reflection:
enabled: false
channelz:
enabled: false
metrics:
host: 0.0.0.0
port: 3001
runner_probe: # configure whether the API server's health check endpoints (readyz, livez, healthz) also check the runners
enabled: true
timeout: 1
period: 10
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
metrics:
enabled: True
namespace: bentoml_runner
timeout: 300
tracing:
type: zipkin
sample_rate: ~
excluded_urls: ~
zipkin:
url: ~
jaeger:
address: ~
port: ~
otlp:
protocol: ~
url: ~
monitoring:
enabled: true
type: default
options:
log_config_file: ~
log_path: monitoring