Open
Description
The purpose and use-cases of the new component
Since version v0.104.0 the opentelemetry collector includes a RabbitMQ exporter. While a rabbitmq receiver exists, it is only used to retrieve node metadata.
With the enhanced ability to read from the queue with an OpenTelemetry Collector, it can be used to reroute, manipulate, or further process traffic. #28891 (comment)
Example configuration for the component
Minimal receiver options required to ensure feature parity with exporter
receivers:
rabbitmq:
connection:
endpoint: amqp://localhost:5672 # (required) The RabbitMQ endpoint to connect to.
vhost # (optional) The RabbitMQ virtual host to connect to.
tls: # (optional): TLS configuration.
insecure: true
...
auth:
plain: # (optional) Configuration if using SASL PLAIN authentication
username: user
password: pass
queue:
name: otlp_spans
encoding_extension: otlp_encoding/rabbitmq # (required) ID of the encoding/decoding extension used to unmarshal data.
extensions:
otlp_encoding/rabbitmq:
protocol: otlp_json
Telemetry data types supported
Logs, metrics, and traces
Is this a vendor-specific component?
- This is a vendor-specific component
- If this is a vendor-specific component, I am a member of the OpenTelemetry organization.
- If this is a vendor-specific component, I am proposing to contribute and support it as a representative of the vendor.
Code Owner(s)
Sponsor (optional)
No response
Additional context
Since an exporter and receiver already exist, does it make sense to add the desired functionality to the receiver?
Perhaps someone has an alternative name suggestion which is better then RabbitMQDataReceiver
? 😅