[
https://issues.apache.org/jira/browse/JAMES-3841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628010#comment-17628010
]
ouvtam commented on JAMES-3841:
-------------------------------
What also could be done is add a Grafana dashboard config for ActiveMQ.
> 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: 10m
> 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: [email protected]
For additional commands, e-mail: [email protected]