-
Notifications
You must be signed in to change notification settings - Fork 32
🐛✨ Opentelemetry instrument asyncpg for aiohttp servers and introduce decorator to generate opentelemtry profile span
#8070
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
🐛✨ Opentelemetry instrument asyncpg for aiohttp servers and introduce decorator to generate opentelemtry profile span
#8070
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8070 +/- ##
==========================================
- Coverage 88.28% 88.28% -0.01%
==========================================
Files 1864 1864
Lines 71826 71869 +43
Branches 1261 1264 +3
==========================================
+ Hits 63412 63449 +37
- Misses 8050 8053 +3
- Partials 364 367 +3
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
pcrespov
left a comment
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.
thx!
services/web/server/src/simcore_service_webserver/users/_users_rest.py
Outdated
Show resolved
Hide resolved
|
@Mergifyio queue |
🟠 Waiting for conditions to match
|
sanderegg
left a comment
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.
thanks
YuryHrytsuk
left a comment
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.
Good job. Thanks!
services/web/server/src/simcore_service_webserver/users/_users_rest.py
Outdated
Show resolved
Hide resolved
mrnicegyu11
left a comment
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.
Not too sure about the test changes, But I trust that you have tested the refactored tests. For the main code, looks good and thanks for the contirbution!
This reverts commit 44e7632.
…parc-simcore into 8065-instrument-asyncpg
|



What do these changes do?
asyncpgis instrumented. Together with @pcrespov I discovered the other day that this library is not instrumented in the aiohttp case (webserver)Related issue/s
How to test
Dev-ops
Food for thought
get_my_profileendpoint in the webserver on my local deployment and this is (part of) the profile I got:Note: Handling the request takes 1.7 seconds, while the handler only takes 0.2 seconds.