Categorygithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/rabbitmqreceiver

# README

RabbitMQ Receiver

Status
Stabilityunmaintained: metrics
Distributionscontrib
IssuesOpen issues Closed issues
Code Owners| Seeking more code owners!
Emeritus@cpheps

This receiver fetches stats from a RabbitMQ node using the RabbitMQ Management Plugin.

:construction: This receiver is in BETA. Configuration fields and metric data model are subject to change.

Prerequisites

This receiver supports RabbitMQ versions 3.8 and 3.9.

The RabbitMQ Management Plugin must be enabled by following the official instructions.

Also, a user with at least monitoring level permissions must be used for monitoring.

Configuration

The following settings are required:

  • username
  • password

The following settings are optional:

Example Configuration

receivers:
  rabbitmq:
    endpoint: http://localhost:15672
    username: otelu
    password: ${env:RABBITMQ_PASSWORD}
    collection_interval: 10s

The full list of settings exposed for this receiver are documented in config.go with detailed sample configurations in testdata/config.yaml. TLS config is documented further under the opentelemetry collector's configtls package.

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml

# Functions

NewFactory creates a new receiver factory.

# Structs

Config defines the configuration for the various elements of the receiver agent.