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 Prometheus metric reporting from cron thread #64

Open
danpalmer opened this issue Apr 26, 2018 · 2 comments
Open

Fix Prometheus metric reporting from cron thread #64

danpalmer opened this issue Apr 26, 2018 · 2 comments
Labels

Comments

@danpalmer
Copy link
Contributor

Currently we run 2 threads: API and cron. We are only reporting metrics to Prometheus from the API thread.

https://github.com/prometheus/client_python#multiprocess-mode-gunicorn

This documentation describes how to set up multiprocess support in prometheus_client. It's a little involved.

@danpalmer danpalmer added the Bug label Apr 26, 2018
@danpalmer
Copy link
Contributor Author

#65

@PeterJCLaw
Copy link
Contributor

@danpalmer did #65 fix this entirely, or is there an outstanding issue here?

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

No branches or pull requests

2 participants