-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] php-amqplib Integration #1840
Comments
Thank you for including some interesting bits for us to investigate with this feature request! A few notes while doing a tiny bit of research:
|
Hey @orlandothoeny, We've just released 0.87.0 which includes an php-ampqlib integration! Feel free to try it out and tell us whether it satisfies your expectations :-) |
Hi @bwoebi, Cool, great work! What I observed in our setup: |
Hi @orlandothoeny, There was indeed a dumb mistake that would cause an issue in the tracer when an error was happening during the connection. Now, onto the fact that you only have 2 resources. Have you tried running with |
Hi @PROFeNoM Now we have proper resources, I can't reproduce it anymore. |
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.
The text was updated successfully, but these errors were encountered: