If you're working with async test - just add more sleep, usually it helps :D
I think there's a problem with daemon - it threading.Thread.start waits until the thread is ready, not when the app is healthy and connected to a broker - so we missed task-sent events.
Add tests for celery_task_sent_total
If you're working with async test - just add more
sleep
, usually it helps :D I think there's a problem with daemon - itthreading.Thread.start
waits until the thread is ready, not when the app is healthy and connected to a broker - so we missedtask-sent
events.Fixes https://github.com/danihodovic/celery-exporter/issues/121