[
https://issues.apache.org/jira/browse/JAMES-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17411746#comment-17411746
]
Benoit Tellier commented on JAMES-3297:
---------------------------------------
Or just expose the atomic integer through a jauge.
> Publish the number of items currently in the mailet pipeline as a metric
> ------------------------------------------------------------------------
>
> Key: JAMES-3297
> URL: https://issues.apache.org/jira/browse/JAMES-3297
> Project: James Server
> Issue Type: Improvement
> Reporter: Matthieu Baechler
> Priority: Major
>
> Some MailQueue implementations have a limit on the number of elements that
> can be dequeued but not yet ack (RabbitMQ has that feature).
> In some cases it can prevent new mails to being dequeued and it's not easy to
> diagnose.
> By exposing that number as a metric and/or issuing a warning when this number
> reach the limit, we could help the operator to understand what's going wrong.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]