title: Get Track of every worker's task of celery
body: <p>I want to get track of every task of a worker in the backend DB.
  For the backend, I am using mongodb.
  Right now when I run the worker, I am getting only 2 states: <strong>STARTED</strong>, <strong>SUCCESS</strong>.</p>
  <p>While using the flower utility, we can get the pending state but not able to get the pending state in backend DB(MongoDB).
  Below is the config of my celery worker.</p>
  <pre><code>result_backend = &quot;mongodb&quot;
  mongodb_backend_settings = {
      &quot;host&quot;: &quot;127.0.0.1&quot;,
      &quot;port&quot;: 27017,
      &quot;database&quot;: &quot;celery_demo&quot;, 
      &quot;taskmeta_collection&quot;: &quot;taskmeta_collection&quot;,
      &quot;username&quot; : &quot;username&quot;,
      &quot;password&quot; : &quot;password&quot;,
  }
  task_track_started=True
  worker_send_task_event=True
  task_send_sent_event=True
  task_acks_late=True
  send_events=True
  </code></pre>
  <p>Can anyone guide me on this?</p>