-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨Adding tracing in fastapi-based services (⚠️ devops) #2558
✨Adding tracing in fastapi-based services (⚠️ devops) #2558
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2558 +/- ##
========================================
- Coverage 77.2% 77.1% -0.1%
========================================
Files 613 616 +3
Lines 23852 23862 +10
Branches 2338 2343 +5
========================================
- Hits 18423 18413 -10
- Misses 4801 4821 +20
Partials 628 628
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@sanderegg servicelib integration for dynamic-sidecar will come in via: Have a look here, I think this should be enough. osparc-simcore/services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/core/settings.py Line 11 in 678162b
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice! Glad this is coming in.
services/catalog/src/simcore_service_catalog/core/background_tasks.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Nice!
Just some minor comments!
packages/settings-library/src/settings_library/http_client_request.py
Outdated
Show resolved
Hide resolved
packages/settings-library/src/settings_library/http_client_request.py
Outdated
Show resolved
Hide resolved
services/catalog/src/simcore_service_catalog/core/application.py
Outdated
Show resolved
Hide resolved
You might also want to add the CLI? check how i did it in the api-server in PR #2563 |
@GitHK : please see this PR concerning api-server. that is what is needed in the dynamic-sidecar. |
5fb0dac
to
0ea9dd1
Compare
bdb4b8c
to
374fae4
Compare
9c5defd
to
0278881
Compare
0278881
to
d3c36e5
Compare
What do these changes do?
Related issue/s
We are missing a reliable way to monitor REST API calls. As we do have an infrastructure for this given by Jaeger we should use it!
TRACING_THRIFT_COMPACT_ENDPOINT=http://jaeger:5775
in .env to correctly setup tracingThis PR activates tracing in the following services:
Bonus:
How to test
Checklist