-
Notifications
You must be signed in to change notification settings - Fork 28
check service overload at health entrypoint #1401
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
check service overload at health entrypoint #1401
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1401 +/- ##
==========================================
+ Coverage 70.52% 70.75% +0.22%
==========================================
Files 222 225 +3
Lines 8818 8914 +96
Branches 968 979 +11
==========================================
+ Hits 6219 6307 +88
- Misses 2322 2324 +2
- Partials 277 283 +6
Continue to review full report at Codecov.
|
87b34c1
to
6b0bb83
Compare
This reverts commit 7426683.
Updated sh scripts as well
trafaret 2.0.2 ONLY in servicelib and webserver. Undoing changes in simcore-sdk and storage service
2f90fe2
to
89a1d43
Compare
Splits in PR #1406 and yet another with upgrades of Dockerfile and requirements coming later |
1 similar comment
Splits in PR #1406 and yet another with upgrades of Dockerfile and requirements coming later |
What do these changes do?
Introduces minimal diagnostics to invalidate healthcheck entrypoint and restart weberver automaticaly.
servicelib.monitor_slow_callbacks
: hooks look event handler and registers an incident when there is a slow callbackwebserver
new diagnostics modules that keeps track of incidentswebserver
healthcheck now returns 503 when it is overloaded to long-delayed callbacks. Then swarm will restart the webserver.Got complicated because of the following UPGRADES in
webserver
servicetraferet 2.0.2
docker/*sh
scriptsHow to test
Checklist
make openapi-specs
,git commit ...
and thenmake version-*
)