You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <se...@james.apache.org> on 2022/12/01 05:11:00 UTC

[jira] [Closed] (JAMES-3841) ActiveMQ: Collect statistics and publish metrics

     [ https://issues.apache.org/jira/browse/JAMES-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

René Cordier closed JAMES-3841.
-------------------------------
    Fix Version/s: 3.8.0
       Resolution: Fixed

[https://github.com/apache/james-project/pull/1290] is fixing this and has been merged

> ActiveMQ: Collect statistics and publish metrics
> ------------------------------------------------
>
>                 Key: JAMES-3841
>                 URL: https://issues.apache.org/jira/browse/JAMES-3841
>             Project: James Server
>          Issue Type: Improvement
>          Components: Queue
>            Reporter: ouvtam
>            Priority: Minor
>             Fix For: 3.8.0
>
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> Currently, only some James metrics are available for ActiveMQ which are exposed in WebAdmin. Namely, enqueuedMail and dequeuedMail for each registered queue (i.e. spool and outgoing). Some ActiveMQ broker stats (memoryUsage, memoryLimit, storeUsage, storeLimit, maxEnqueueTime, etc.) are currently not available.
> According to [https://activemq.apache.org/statisticsplugin.html] ActiveMQ Metrics can be obtained through subscription or by polling regularly. At the moment the statistics plugin is only used to get the size of a queue.
> I propose to poll ActiveMQ statistics via ActiveMQHealthCheck and publish those as metrics. Currently, the health check creates a session and checks if no exception occurred.
> What do you think?
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org