Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add uvicorn timeouts options #4682

Merged
merged 14 commits into from
May 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style: restore yaml format
gusghrlrl101 committed Apr 30, 2024
commit 6820b7a4a643672b06c4f5d5189762ba746744bb
Original file line number Diff line number Diff line change
@@ -12,23 +12,7 @@ api_server:
namespace: bentoml_api_server
duration:
# https://github.com/prometheus/client_python/blob/f17a8361ad3ed5bc47f193ac03b00911120a8d81/prometheus_client/metrics.py#L544
buckets:
[
0.005,
0.01,
0.025,
0.05,
0.075,
0.1,
0.25,
0.5,
0.75,
1.0,
2.5,
5.0,
7.5,
10.0,
]
buckets: [0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1.0, 2.5, 5.0, 7.5, 10.0]
min: ~
max: ~
factor: ~
20 changes: 2 additions & 18 deletions src/bentoml/_internal/configuration/v2/default_configuration.yaml
Original file line number Diff line number Diff line change
@@ -14,23 +14,7 @@ services:
namespace: bentoml_service
duration:
# https://github.com/prometheus/client_python/blob/f17a8361ad3ed5bc47f193ac03b00911120a8d81/prometheus_client/metrics.py#L544
buckets:
[
0.005,
0.01,
0.025,
0.05,
0.075,
0.1,
0.25,
0.5,
0.75,
1.0,
2.5,
5.0,
7.5,
10.0,
]
buckets: [0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1.0, 2.5, 5.0, 7.5, 10.0]
min: ~
max: ~
factor: ~
@@ -45,7 +29,7 @@ services:
request_content_type: true
response_content_length: true
response_content_type: true
skip_paths: ["/metrics", "/healthz", "/livez", "/readyz"]
skip_paths: ['/metrics', '/healthz', '/livez', '/readyz']
format:
trace_id: 032x
span_id: 016x