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

Metrics are not multiprocess #227

Open
alexppg opened this issue Feb 23, 2021 · 0 comments
Open

Metrics are not multiprocess #227

alexppg opened this issue Feb 23, 2021 · 0 comments

Comments

@alexppg
Copy link
Member

alexppg commented Feb 23, 2021

Describe the bug
Is not a bug per se, since we don't have to change anything in pyms to make it work, what #179 did was ok. The problem is that it's not enough.

The problem can be reproduced using pyms with gunicorn with at least two workers and do a lot of http requests to the metrics endpoint. You'll see that each response has different values, which shows that each worker has it's own count of the metrics.

I'll add this just to track it, I'm seeing at he moment how to fix it. It will probable be just a PR with more documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant