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

fix: Fix handling of multi process mode in metrics endpoint #229

Merged
merged 7 commits into from
Mar 8, 2023

Conversation

trallnag
Copy link
Owner

@trallnag trallnag commented Mar 8, 2023

Fixes #228.

Should also fix #227.

@codecov
Copy link

codecov bot commented Mar 8, 2023

Codecov Report

Merging #229 (ce5f3fe) into master (a9e21ac) will decrease coverage by 5.20%.
The diff coverage is 78.37%.

@@            Coverage Diff             @@
##           master     #229      +/-   ##
==========================================
- Coverage   95.72%   90.53%   -5.20%     
==========================================
  Files           5        5              
  Lines         304      338      +34     
==========================================
+ Hits          291      306      +15     
- Misses         13       32      +19     
Impacted Files Coverage Δ
src/prometheus_fastapi_instrumentator/metrics.py 83.21% <73.91%> (-13.31%) ⬇️
...ometheus_fastapi_instrumentator/instrumentation.py 97.05% <100.00%> (+1.53%) ⬆️
...rc/prometheus_fastapi_instrumentator/middleware.py 95.50% <100.00%> (+0.26%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@trallnag trallnag merged commit 0cb465d into master Mar 8, 2023
@trallnag trallnag deleted the fix-multiprocessing branch March 8, 2023 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant