routemaster icon indicating copy to clipboard operation
routemaster copied to clipboard

Fix Prometheus metric reporting from cron thread

Open danpalmer opened this issue 7 years ago • 2 comments

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 avatar Apr 26 '18 09:04 danpalmer

#65

danpalmer avatar Apr 29 '18 17:04 danpalmer

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

PeterJCLaw avatar Sep 18 '19 16:09 PeterJCLaw