auxmoney/opentracing-bundle-core
opentelemetry/opentelemetry-php.curl or other HTTP libraries are available for agent communication.span.log()).composer.json constraints).100% for pilot, then adjust).agent_uri in .env.# config/packages/opentracing.yaml
opentracing:
agent_uri: "http://jaeger:14268/api/traces"
sampler: "const" # or "adaptive", "ratelimiting"
Tracer::extract()/inject() manually.opentracing-doctrine for Doctrine ORM.curl directly may need wrapper functions to propagate headers.composer require auxmoney/opentracing-bundle-core
config/bundles.php:
Auxmoney\OpentracingBundle\Core\AuxmoneyOpentracingBundle::class => ['all' => true],
opentracing.yaml (see above).use Auxmoney\OpentracingBundle\Core\Tracer;
$span = Tracer::startSpan('business-operation');
try {
// Logic here
$span->setTag('key', 'value');
$span->log(['event' => 'step1']);
} finally {
$span->finish();
}
auxmoney/opentracing-bundle-core and opentracing-php. Major version bumps may require testing.opentracing.yaml) to avoid environment-specific misconfigurations.opentracing-php version in composer.json to avoid unexpected updates.Tracer::getCurrentSpanContext()->getTraceId()).finally blocks).1%) in production to limit agent load.flush_interval in config if needed.drop sampler).| **Failure Scenario
How can I help you explore Laravel packages today?