-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Description
Queue analytics period stats (Published, Delivered, Acknowledged, Failed, latency metrics, etc.) always return 0, even after performing multiple queue operations.
Environment
- CLI Version: 0.1.24
- SDK Version: 0.1.24
Steps to Reproduce
- Create a worker queue:
agentuity cloud queue create worker --name test- Publish messages:
for i in {1..10}; do
agentuity cloud queue publish test "{\"test\": $i}"
done- Receive and acknowledge messages:
agentuity cloud queue receive test
# Returns message with id like qmsg_xxx
agentuity cloud queue ack test qmsg_xxx- Optionally add a destination and let it deliver messages:
agentuity cloud queue destinations create test --url https://webhook.site/test
agentuity cloud queue publish test "{\"webhook_test\": 1}"
# Destination successfully delivers (shows in stats)- Check stats:
agentuity cloud queue stats testExpected Behavior
Period stats should show counts for operations performed:
- Published: should reflect messages published
- Delivered: should reflect messages delivered (via destination or ack)
- Acknowledged: should reflect messages acked
- Latency metrics should have values
Actual Behavior
ℹ Queue: test (worker)
Period: 1d
Current State:
Backlog: 0
In-Flight: 0
DLQ: 4
Consumers: 0
Oldest Msg Age: 0s
Period Stats:
Published: 0
Delivered: 0
Acknowledged: 0
Failed: 0
Replayed: 0
Bytes Published: 0 B
Delivery Attempts: 0
Retries: 0
Delivery Latency:
Average: 0ms
Median (P50): 0ms
P95: 0ms
P99: 0ms
Max: 0ms
Consumer Latency:
Average: 0ms
Median (P50): 0ms
P95: 0ms
P99: 0ms
What Works
- Current State metrics work correctly (Backlog, In-Flight, DLQ, Consumers update in real-time)
- Destination stats work when a destination is configured:
ℹ Destinations:
ID: qdest_jpnqoc...
URL: https://webhook.site/test
Success: 49
Failed: 0
Avg Response: -
Error %: 0.00%
- Message operations work correctly (publish, receive, ack, deliver all function)
- Messages show correct states (pending → leased → delivered)
Notes
- Tested with different granularity options (
--granularity hour) - Waited several minutes between operations and stats checks
- The analytics aggregation pipeline may not be running or may have an issue
Impact
The Queue Service UI relies on these analytics for the Performance section charts and stats cards. Currently shows empty/zero data even when queues are actively being used.
Metadata
Metadata
Assignees
Labels
No labels