RabbitMQ is open source message broker software that implements the Advanced Message Queuing Protocol (AMQP).
The RabbitMQ Monitoring extension collects metrics from an RabbitMQ management API and uploads them to the AppDynamics Controller.
Before the extension is installed, the prerequisites mentioned here need to be met. Please do not proceed with the extension installation if the specified prerequisites are not met.
Download and install Apache Maven which is configured with Java 8
to build the extension artifact from source. You can check the java version used in maven using command mvn -v
or mvn --version
. If your maven is using some other java version then please download java 8 for your platform and set JAVA_HOME parameter before starting maven.
The RabbitMQ Management Plugin must be enabled. Please refer to this page for more details.
The extension needs to be able to connect to RabbitMQ in order to collect and send metrics. To do this, you will have to either establish a remote connection in between the extension and the product, or have an agent on the same machine running the product in order for the extension to collect and send the metrics.
git clone <repoUrl>
command.RabbitMQMonitor-<VERSION>.zip
from target
folder to the "<MachineAgent_Dir>/monitors" directoryPlease place the extension in the "monitors" directory of your Machine Agent installation directory. Do not place the extension in the "extensions" directory of your Machine Agent installation directory.
<TIER ID>
in<TIER ID>
|Custom Metrics|RabbitMQ".metricPrefix: "Server|Component:Extensions tier|Custom Metrics|RabbitMQ"
servers:
- host: "localhost"
port: 15672
useSSL: false
username: "guest"
password: "guest"
##encryptedPassword : Encrypted Password to be used, In this case do not use normal password field as above
displayName: "displayName1" //The display name to be used for the metrics of this server, mandatory
- host: "localhost"
port: 15673
useSSL: false
username: "guest"
password: "guest"
displayName: "displayName2" //The display name to be used for the metrics of this server, mandatory
connection:
socketTimeout: 10000
connectTimeout: 10000
#Encryption key for Encrypted password.
encryptionKey: "axcdde43535hdhdgfiniyy576"
numberOfThreads: 15
queueGroups:
# The stats from Queues matched by the 'queueNameRegex' will be reported under groupName
- groupName: group1
# A Regex to match the Queue Name
queueNameRegex: queue.+
# showIndividualStats If set to false then the Individual Queue stats will not be reported.This will help if there are several short lived queues and an explosion of metrics in the controller can be avoided
showIndividualStats: false
- groupName: group2
queueNameRegex: temp.+
showIndividualStats: true
filter:
nodes:
includes: [".*"]
queues:
includes: [".*"]
endpointFlags:
federationPlugin: "false"
overview: "true"
Please refer to metrics.xml file located at <MachineAgentInstallationDirectory>/monitors/RabbitMQMonitor/
to view the metrics which this extension can report.
Please visit this page to get detailed instructions on password encryption. The steps in this document will guide you through the whole process.
Workbench is an inbuilt feature provided with each extension in order to assist you to fine tune the extension setup before you actually deploy it on the controller. Please review the following document on How to use the Extensions WorkBench
#With Username and Password
curl -v -u <Username>:<Password> http://<host>:<port>/api/nodes
#Without Username and Password
curl -v http://<host>:<port>/api/nodes
Always feel free to fork and contribute any changes directly here on GitHub.
Name | Version |
---|---|
Extension Version | 2.0.7 |
Product Tested On | 3.2.0+ |
Last Update | 11/10/2021 |
Changes list | ChangeLog |
Note: While extensions are maintained and supported by customers under the open-source licensing model, they interact with agents and Controllers that are subject to AppDynamics’ maintenance and support policy. Some extensions have been tested with AppDynamics 4.5.13+ artifacts, but you are strongly recommended against using versions that are no longer supported.
Owner
Contributors
Categories
Products
AppDynamicsProgramming Languages
JavaLicense
Code Exchange Community
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community