[ https://issues.apache.org/jira/browse/JAMES-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ouvtam updated JAMES-3841: -------------------------- Attachment: (was: image.gif) > 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 > Time Spent: 1h > 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-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org