Queues, Cloudflare’s managed message queue, now exposes realtime backlog metrics via the dashboard, REST API, and JavaScript API. Three new fields are available:
backlog_count— the number of unacknowledged messages in the queuebacklog_bytes— the total size of those messages in bytesoldest_message_timestamp_ms— the timestamp of the oldest unacknowledged message
The following endpoints also now include a metadata.metrics object on the result field after successful message consumption:
/accounts/{account_id}/queues/{queue_id}/messages/pull/accounts/{account_id}/queues/{queue_id}/messages/accounts/{account_id}/queues/{queue_id}/messages/batch
Javascript APIs
Call env.QUEUE.metrics() to get realtime backlog metrics:
const { backlogCount, // number backlogBytes, // number oldestMessageTimestamp, // Date | undefined} = await env.QUEUE.metrics();env.QUEUE.send() and env.QUEUE.sendBatch() also now return a metrics object on the response.
You can also query these fields via the GraphQL Analytics API or view realtime backlog on the dashboard.
For more information, refer to Queues metrics.
Source: Cloudflare
Latest Posts
- (Updated) Microsoft Outlook for iOS/Android: Improved Contacts with profile enrichment and duplicate management [MC1093912]
![(Updated) Microsoft Outlook for iOS/Android: Improved Contacts with profile enrichment and duplicate management [MC1093912] 2 pexels erix07 10844000](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Amazon OpenSearch Serverless now supports Agentic Search

- Dynamics 365 Customer Insights – Journeys – Boost productivity with flexible views and search in segments [MC1383794]
![Dynamics 365 Customer Insights – Journeys - Boost productivity with flexible views and search in segments [MC1383794] 4 pexels divinetechygirl 1181675](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Power Automate – Measure time and cost savings for desktop flows [MC1383792]
![Microsoft Power Automate - Measure time and cost savings for desktop flows [MC1383792] 5 pexels mareefe 1638280](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![(Updated) Microsoft Outlook for iOS/Android: Improved Contacts with profile enrichment and duplicate management [MC1093912] 2 pexels erix07 10844000](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-erix07-10844000-150x150.webp)

![Dynamics 365 Customer Insights – Journeys - Boost productivity with flexible views and search in segments [MC1383794] 4 pexels divinetechygirl 1181675](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-divinetechygirl-1181675-150x150.webp)
![Microsoft Power Automate - Measure time and cost savings for desktop flows [MC1383792] 5 pexels mareefe 1638280](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-mareefe-1638280-150x150.webp)
