The RabbitMQ module uses HTTP API created by the management plugin to collect metrics.
The default metricsets are
management.path_prefix is set in RabbitMQ configuration,
management_path_prefix has to be set to the same value in this module configuration.
The rabbitmq module is fully tested with RabbitMQ 3.7.4 and it should be compatible with any version supporting the management plugin (which needs to be installed and enabled). Exchange metricset is also tested with 3.6.0, 3.6.5 and 3.7.14
The RabbitMQ module supports the standard configuration options that are described in Specify which modules to run. Here is an example configuration:
metricbeat.modules: - module: rabbitmq metricsets: ["node", "queue", "connection"] enabled: true period: 10s hosts: ["localhost:15672"] # Management path prefix, if `management.path_prefix` is set in RabbitMQ # configuration, it has to be set to the same value. #management_path_prefix: "" #username: guest #password: guest
The following metricsets are available: