Task's queue is 'undefined'
See original GitHub issueBy some reason the output is the following:
celery_tasks_total{name="local.update_record",namespace="celery",queue="local_develop",state="STARTED"} 0.0
# skipped
celery_tasks_total{name="local.update_record",namespace="celery",queue="undefined",state="STARTED"} 1.0
All recorded tasks have queue as “undefined”.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Task Queue error with task : Cannot read property of undefined
I write component witch some caching functionallity. It is based on async storage. static getDiscounts(categoryAndPage) { return ...
Read more >Class v2.CloudTasksClient (3.0.5) | Node.js client library
Creates a queue. Queues created with this method allow tasks to live for a maximum of 31 days. After a task is 31...
Read more >The event loop - JavaScript - MDN Web Docs - Mozilla
The execution depends on the number of waiting tasks in the queue. In the example below, the message "this is just a message"...
Read more >queue-tea - npm
import createQueue from 'queue-tea' interface Tasks { syncDataWithCloud: { username: string; count: number } runInBackground: undefined } ...
Read more >Freertos Build Error for Queues - Kernel
Two tasks sending messages and third task will receive the messages from ... Core/Src/main.c:238: undefined reference to xQueueCreateSet'
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Having the same issue:
We have the same problem:
queue=“celery” is wrong, we don’t have celery queue with such a name. Same with the queue=“undefined”.
I checked how our Celery task events look like and it seems, that they are ok and contain all expected data.
Example of out task-received event:
I have also noticed that I have not received any task-sent events, I run the exporter with
--enable-events
flag.