I am using celery-results
and celery-beats
in my Django app. I am using React framework in my frontend and I'd like to create a component to monitor all statuses in all celery tasks but celery-beats displays only statuses: STARTED, FAILURE, SUCCESS. What I want is to display all possible statuses in my database. I am using Flower and it is working fine but I need just to save all statuses to my PostgreSQL db.
Question
What would be the best way to do it? I know that TaskResults is just storing completed tasks but how to extend this library to store all statuses to my db? I configured celery to show me STARTED status but it is not enough. I need all possible states, especially RECEIVED.