RabbitMQ moduleedit

Warning

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

The RabbitMQ module uses HTTP API created by the management plugin to collect metrics.

The default metricsets are connection, node, queue and exchange.

If management.path_prefix is set in RabbitMQ configuration, management_path_prefix has to be set to the same value in this module configuration.

Compatibilityedit

The rabbitmq module is tested with RabbitMQ 3.7.4, and it should be compatible with any version supporting the management plugin. This plugin needs to be enabled.

Example configurationedit

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

This module supports TLS connections when using ssl config field, as described in Specify SSL settings. It also supports the options described in Standard HTTP config optionsedit.

Metricsetsedit

The following metricsets are available: