Returns one queue with its short histories — the same as the queue page in the monitor: the last 50 recipient events, the last 10 queue errors and the last 10 changes between normal and backoff mode.
The call is GET /queueDetail?format=json&queue=domain/address. The manual shows no stars for this endpoint: it describes one queue, and /queues gives selections.
The histories are rolling: the eleventh mode change pushes out the first. On a busy queue fifty recipient events are the last few minutes, so for an older case go to accounting.
Access is decided by http-access based on the address the request came from — the monitor level is enough for reading. The key from http-api-key in the X-API-Key header grants full access from any address.
What to ask this endpoint:
| Question | This one or not |
|---|---|
| why this particular queue is stuck | yes — the latest errors |
| when the queue went into backoff mode | yes, within the last ten changes |
| which queues are large | no — /queues |
| what happened yesterday | no — that is accounting |
# one queue with its histories curl -s 'http://127.0.0.1:8080/queueDetail?format=json&queue=gmail.com/vmta1'
2 relations
curl -s 'http://127.0.0.1:8080/queueDetail?format=json&queue=gmail.com/vmta1' | head -60 pmta show queues --mode-events gmail.com/vmta1
3 articles
◇How the policy for a receiver is assembledSettings are assembled from the most general pattern to the most precise; the order of blocks in the file means nothing.◇Backoff mode — the queue's second personalityA queue that a receiver has started refusing switches to a parallel set of limits, retries and routes — ten directives that act only in this mode.◇Reputation monitoring inside the nodeThe engine itself watches the receiving servers’ replies and changes the queue mode on a pattern match — a reaction within the connection, not through telemetry.