-
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
🐛⚗️Prometheus instrumentation incorrectly setup #6398
🐛⚗️Prometheus instrumentation incorrectly setup #6398
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6398 +/- ##
=========================================
+ Coverage 84.5% 87.9% +3.3%
=========================================
Files 10 1170 +1160
Lines 214 51580 +51366
Branches 25 930 +905
=========================================
+ Hits 181 45340 +45159
- Misses 23 6065 +6042
- Partials 10 175 +165
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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 a lot!!
packages/service-library/src/servicelib/fastapi/prometheus_instrumentation.py
Outdated
Show resolved
Hide resolved
services/autoscaling/src/simcore_service_autoscaling/modules/instrumentation/_models.py
Outdated
Show resolved
Hide resolved
packages/service-library/src/servicelib/fastapi/prometheus_instrumentation.py
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.
🎉
44fa24e
to
bbe033c
Compare
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! Please also apply the same changes to director-v2's metrics module
services/autoscaling/src/simcore_service_autoscaling/modules/instrumentation/_models.py
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Thanks for the changes! |
What do these changes do?
Here is probably what was happening:
prometheus_fastapi_instrumentator
library introduced by @bisgaard-itis a long time ago uses a global CollectorRegistry, and is initialized,This PR does:
Related issue/s
How to test
Dev-ops checklist