auxmoney/opentracing-bundle-amqplib-rabbitmq
amqplib, enabling end-to-end tracing for async messaging workflows. This aligns with modern microservices architectures where message queues (RabbitMQ) are critical for decoupling services.auxmoney/opentracing-bundle-core (v1.0+)php-amqplib/rabbitmq-bundle (v2.10.0+)traceparent, tracestate) for cross-service correlation, ensuring compatibility with other OpenTelemetry/OpenTracing tools (e.g., Jaeger, Zipkin).| Risk Area | Assessment | Mitigation |
|---|---|---|
| Breaking Changes | v1.0.0+ requires core bundle v1.0+, dropping PHP 7.1/7.2 support. | Audit current opentracing-bundle-core version; upgrade path is documented. |
| RabbitMQ Bundle Version | Hard dependency on php-amqplib/rabbitmq-bundle:^2.10.0. |
Verify compatibility with your RabbitMQ bundle version; may require minor config tweaks. |
| OpenTelemetry Adoption | OpenTracing is deprecated in favor of OpenTelemetry. This bundle may lag in OTel integration. | Monitor OpenTelemetry support in future releases; consider OTel PHP extensions as a long-term alternative. |
| Span Context Leaks | Improper header propagation could corrupt traces. | Test with bounded contexts (e.g., per-service tracing) to isolate issues. |
| Performance Overhead | Span creation for every message may impact throughput. | Benchmark under load; use sampling (if supported by core bundle) to reduce overhead. |
Tracing Backend Compatibility:
RabbitMQ Configuration:
RabbitMqBundle or raw amqplib)?Upgrade Path:
opentracing-bundle-core version? Is it v1.0+?Long-Term Strategy:
open-telemetry/opentelemetry-php).Monitoring Gaps:
| Component | Compatibility | Notes |
|---|---|---|
| Symfony | 5.3+, 6.x (tested). | Symfony 4.x may require backported patches or a fork. |
| PHP | 8.0+ (PHP 7.1/7.2 dropped in v0.1.3). | Align with your PHP version; PHP 8.1+ recommended for performance. |
| RabbitMQ Bundle | php-amqplib/rabbitmq-bundle:^2.10.0. |
Verify your bundle version; downgrade may not be possible. |
| OpenTracing Core | auxmoney/opentracing-bundle-core:v1.0+. |
Critical: Must be upgraded first. |
| Observability Tools | Jaeger, Zipkin (OpenTracing), or OpenTelemetry-compatible backends (with adapters). | Test trace export to your APM tool. |
Prerequisite Setup:
auxmoney/opentracing-bundle-core to v1.0+.php-amqplib/rabbitmq-bundle is v2.10.0+.Bundle Installation:
composer require auxmoney/opentracing-bundle-amqplib-rabbitmq
bundles.php:
Auxmoney\OpentracingAmqplibRabbitMqBundle\OpentracingAmqplibRabbitMqBundle::class => ['all' => true],
Configuration:
Validation:
traceparent headers are attached to messages.| Aspect | Details | Action Items |
|---|---|---|
| Dependency Updates | Tied to opentracing-bundle-core and rabbitmq-bundle. |
Subscribe to GitHub releases for breaking changes. |
| Bundle Support | Low community activity (1 star, 0 dependents). | Monitor auxmoney’s GitHub for updates; consider forking if critical bugs arise. |
| PHP Versioning | PHP 8.0+ only; no EOL support for older versions. | Align PHP version with bundle requirements. |
| Configuration Drift | Zero-config, but core bundle may need tuning (e.g., sampler settings). | Document baseline config in your internal wiki. |
debug:container).traceparent headers in messages (use a proxy tool like rabbitmq-tracing-proxy).How can I help you explore Laravel packages today?