With our ActiveMQ dashboards, you can easily track your ActiveMQ logs, keep an eye on your critical brokers, and get a total overview of all components of your messaging system. Built with our infrastructure agent and our JMX integration, ActiveMQ take advantage of JMX scraping so you can view all your most important data, all in one place.
After setting up ActiveMQ with New Relic, your data will display in dashboards like these, right out of the box.
Install the JMX integration
Before getting ActiveMQ data into New Relic, first install our infrastructure agent, then expose your metrics by installing the JMX integration. If you haven't already:
Our ActiveMQ dashboard takes data scraped from your JMX integration and translates it into dashboards. By storing all your data in New Relic, you've a one stop shop to get a full overview of your system's health and critical business points.
If you haven't already, you'll need to install our JMX monitoring integration. You'll need to make some additional configurations once it's installed.
The below YAML snippet connects your ActiveMQ metrics via CONNECTION_URL to jconsole, a Java tool that makes those metrics readable. If you're following along with the JMX integration install, this step corresponds with the configuration step.
To update:
Go to file path: /etc/newrelic-infra/integrations.d/jmx-config.yml
This step organizes your metrics to be human readable once they're in New Relic. Update the jvm metrics.yml file with any metrics that jconsole should capture. In the procedure below is the snippet of the jvm-metrics.yml file.
Before you start, here are some things to know about using the snippet:
For the code snippet below, you'll update it with your desired metrics.
Update YOUR_BROKER_NAME, YOUR_TOPIC_NAME, and YOUR_QUEUE_NAME with your actual values. You can use the jconsole tool to get these values.
All the metrics captured are stored on the events determined by the event_type field.
To update the jvm-metrics.yml file:
Go to file path /etc/newrelic-infra/integrations.d/jvm-metrics.yml