celery-prometheus-exporter
celery-prometheus-exporter copied to clipboard
How to run with django
hi all,
My project is running django 1.11 and celery 4.2.0 I run celery tasks on three worker with -E flag
When i run celery-prometheus-exporter --enable-events --verbose It seem not run, no error no message it just silent. What wrong with me?
Please take a look. Thanks

Is the exporter up-and-running, can you curl http://localhost:8888/metrics? Is your broker on redis://redis:6379/0?
Is the exporter up-and-running, can you
curl http://localhost:8888/metrics?
I got this curl: (7) Failed to connect to localhost port 8888: Connection refused
Is your broker on
redis://redis:6379/0?
My other celery tasks still running using redis
Do you get any output when you run celery-prometheus-exporter --help?
I've got the same issue. @zerok,celery-prometheus-exporter --help returns default help info.
Running it as celery-prometheus-exporter --broker redis://192.168.2.102:6379/0 --verbose does not produce any output at all.
Upd: This probably happened due to network problems. Looks like that if the redis server is not responding, celery will try connecting with it several times before throwing an error.
Hi :) Sorry for the late response! Yes, the exporter tries to connect to the broker during the startup-phase but doesn't log anything until it has succeeded there. I've added a bit more logging to the master branch that might help you debug this issue.