How to monitor Apache Artemis

后端 未结 1 1815
我在风中等你
我在风中等你 2020-12-29 00:50

I\'m doing some testing with RabbitMQ, ActiveMQ and Apache Artemis in a Windows .NET environment. RabbitMQ and ActiveMQ ship with a web interface where you can see informati

相关标签:
1条回答
  • 2020-12-29 01:40

    Take a look at the Management chapter of the Artemis manual. As far as I know, the following options are available to you

    JMX (Java Management Service)

    JMX is a Java API for managing Java servers. There are multiple GUIs that connect to java servers via JMX. The most notable being jConsole. There is a list of other GUIs here or there, or you could build your own

    jConsole

    jConsole is a GUI application that you can connect to a JMX enabled server. It is a part of the Java JDK, so you probably have it installed already.

    Jolokia

    Jolokia, tutorial, is a JSON API layer over JMX. It makes the JMX interface accessible over HTTP(S). You may query the information using any HTTP client library. You already figured out this in your question. Again, there are GUIs on top of that, the most notable being

    Hawt.io Artemis plugin

    Hawt.io is an Angular.js management console. It can be thought of as a GUI for Jolokia.

    Artemis 2.6 and newer

    Hawt.io plugin is built in, no extra setup necessary.

    Artemis 1

    There is a hawt.io plugin for Artemis made by Red Hat. Compile the plugin and get a .war file. Artemis contains a built-in Jetty webserver. You need put that war to apache-artemis-1.3.0/web. You also need to download hawtio-default.war from http://hawt.io/getstarted/index.html to the same directory. Then, in the instance directory, edit etc/bootstrap.xml and add these wars to config.

    Or you can get Red Hat AMQ 7, currently in Alpha, which has the management plugin built in. Start it up and go to localhost:8161/hawtio. I work for a company that sells that product.

    Prometheus and Grafana

    There is a repository and an accompanying blogpost that describes Prometheus and Grafana setup with ActiveMQ Artemis, all running in OpenShift.

    The jmx exporter for Prometheus contains example config for Artemis 2 to get started.

    0 讨论(0)
提交回复
热议问题