Prometheus and ActiveMQ Integration
Asked Answered
T

2

5

I want to show the metrics of ActiveMQ on Promtheus/Grafana and generate the Alerts using Prometheus AlertManager.

Kindly suggest any option to scrape the ActiveMQ metrics in Prometheus.

Thoer answered 19/7, 2019 at 7:11 Comment(0)
O
11

If you're using ActiveMQ "Classic" then you'll need to use the Prometheus JMX Exporter.

However, if you're using ActiveMQ Artemis then you can use the Prometheus metrics plugin implementation. General information about exporting metrics in ActiveMQ Artemis can be found in the documentation.

A sample Grafana dashboard is available here.

Overweight answered 29/7, 2019 at 17:52 Comment(1)
Thank you for all of your hard work on so many aspects of Artemis. May I ask if there are any pre-configured Grafana dashboards that work with the plugin you have mentioned? I've installed the plugin, and the metrics are there. Even if there is no existing dashboard, the metrics are fairly self-explanatory and building a dashboard should not be hard. Thanks.Kaolinite
T
2

Basic ActiveMQ metrics like number of Queues, number of Messages in a Queue etc can be achieved using a JMX Exporter.

http://blog.klocwork.com/open-source/monitoring-java-applications-prometheus-grafana-part-1/

Thoer answered 22/7, 2019 at 12:21 Comment(1)
When using this method, I am unable to use artemis die present in bin folder, getting error "Address already in use"Lynelllynelle

© 2022 - 2024 — McMap. All rights reserved.