As a developer, I'd like to see information about RabbitMQ messages inside traces.
Solution
Support for the php-amqplib library, which is as far as I could research the most widely used RabbitMQ client for PHP.
Alternatives I've considered
Implementing custom instrumentation myself. I would prefer to have this out of the box though.
Interesting methods
Methods I personally am interested in:
AMQPChannel
PhpAmqpLib\Channel\AMQPChannel::basic_publish()
PhpAmqpLib\Channel\AMQPChannel::basic_consume()
PhpAmqpLib\Channel\AMQPChannel::basic_get()
PhpAmqpLib\Channel\AMQPChannel::basic_ack()
PhpAmqpLib\Channel\AMQPChannel::basic_nack()
PhpAmqpLib\Channel\AMQPChannel::basic_cancel()
Especially interesting parameters: Exchange, Queue, Routing Key
AbstractConnection
PhpAmqpLib\Connection\AbstractConnection::connect()
PhpAmqpLib\Connection\AbstractConnection::reconnect()
It might make sense to extend this list.
As a developer, I'd like to see information about RabbitMQ messages inside traces.
Solution
Support for the php-amqplib library, which is as far as I could research the most widely used RabbitMQ client for PHP.
Alternatives I've considered
Implementing custom instrumentation myself. I would prefer to have this out of the box though.
Interesting methods
Methods I personally am interested in:
AMQPChannel
PhpAmqpLib\Channel\AMQPChannel::basic_publish()PhpAmqpLib\Channel\AMQPChannel::basic_consume()PhpAmqpLib\Channel\AMQPChannel::basic_get()PhpAmqpLib\Channel\AMQPChannel::basic_ack()PhpAmqpLib\Channel\AMQPChannel::basic_nack()PhpAmqpLib\Channel\AMQPChannel::basic_cancel()Especially interesting parameters: Exchange, Queue, Routing Key
AbstractConnection
PhpAmqpLib\Connection\AbstractConnection::connect()PhpAmqpLib\Connection\AbstractConnection::reconnect()It might make sense to extend this list.