【发布时间】:2019-11-28 03:25:46
【问题描述】:
我想在 Promtheus/Grafana 上显示 ActiveMQ 的指标,并使用 Prometheus AlertManager 生成警报。
请建议任何在 Prometheus 中抓取 ActiveMQ 指标的选项。
【问题讨论】:
标签: activemq prometheus
我想在 Promtheus/Grafana 上显示 ActiveMQ 的指标,并使用 Prometheus AlertManager 生成警报。
请建议任何在 Prometheus 中抓取 ActiveMQ 指标的选项。
【问题讨论】:
标签: activemq prometheus
如果您使用的是 ActiveMQ 5.x,那么您需要使用 Prometheus JMX Exporter。
但是,如果您使用的是 ActiveMQ Artemis,那么您可以使用 Prometheus metrics plugin implementation。有关在 ActiveMQ Artemis 中导出指标的一般信息,请参见 the documentation。
here 提供了 Grafana 仪表板示例。
【讨论】:
可以使用 JMX 导出器来实现基本的 ActiveMQ 指标,例如队列数量、队列中的消息数量等。
http://blog.klocwork.com/open-source/monitoring-java-applications-prometheus-grafana-part-1/
【讨论】: