【问题标题】:Prometheus and ActiveMQ IntegrationPrometheus 和 ActiveMQ 集成
【发布时间】:2019-11-28 03:25:46
【问题描述】:

我想在 Promtheus/Grafana 上显示 ActiveMQ 的指标,并使用 Prometheus AlertManager 生成警报。

请建议任何在 Prometheus 中抓取 ActiveMQ 指标的选项。

【问题讨论】:

    标签: activemq prometheus


    【解决方案1】:

    如果您使用的是 ActiveMQ 5.x,那么您需要使用 Prometheus JMX Exporter

    但是,如果您使用的是 ActiveMQ Artemis,那么您可以使用 Prometheus metrics plugin implementation。有关在 ActiveMQ Artemis 中导出指标的一般信息,请参见 the documentation

    here 提供了 Grafana 仪表板示例。

    【讨论】:

    • 感谢您在 Artemis 众多方面的辛勤工作。请问是否有任何预配置的 Grafana 仪表板可与您提到的插件一起使用?我已经安装了插件,并且指标在那里。即使没有现有的仪表板,这些指标也是不言自明的,构建仪表板应该不难。谢谢。
    【解决方案2】:

    可以使用 JMX 导出器来实现基本的 ActiveMQ 指标,例如队列数量、队列中的消息数量等。

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-12-11
      • 2021-05-02
      • 1970-01-01
      • 1970-01-01
      • 2013-11-02
      • 2014-08-23
      • 2015-02-03
      • 2018-07-14
      相关资源
      最近更新 更多