README ¶
RabbitMQ Receiver
This receiver fetches stats from a RabbitMQ node using the RabbitMQ Management Plugin.
Supported pipeline types: metrics
🚧 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:
endpoint
(default:http://localhost:15672
): The URL of the node to be monitored.collection_interval
(default =10s
): This receiver collects metrics on an interval. Valid time units arens
,us
(orµs
),ms
,s
,m
,h
.tls
(defaults defined here): TLS control. By default insecure settings are rejected and certificate verification is on.
Example Configuration
receivers:
rabbitmq:
endpoint: http://localhost:15672
username: otelu
password: $RABBITMQ_PASSWORD
collection_interval: 10s
The full list of settings exposed for this receiver are documented here with detailed sample configurations here. 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
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates a new receiver factory
Types ¶
type Config ¶
type Config struct { scraperhelper.ScraperControllerSettings `mapstructure:",squash"` confighttp.HTTPClientSettings `mapstructure:",squash"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` Metrics metadata.MetricsSettings `mapstructure:"metrics"` }
Config defines the configuration for the various elements of the receiver agent.