opentracing.tracer.default service abstraction simplifies extension.instana-php-client (~5MB) + opentracing-php (~2MB). Minimal runtime impact if spans are sampled (Instana’s default)..env keys) documented—assume manual config/packages/instana.yaml or service provider binding.Illuminate\Bus)?setTag() for custom metadata?Doctrine\DBAL\Connection events (no Eloquent changes needed).kernel.request, kernel.exception, etc., for HTTP-level tracing.ArgumentResolver/ControllerResolver to capture request processing time.opentracing.tracer.default into services (e.g., App\Services\PaymentService) to add business logic spans.TracingMiddleware to wrap HTTP requests in spans (if not covered by existing hooks).ext-curl (for agent communication) and ext-json.RUN curl -sL https://... | bash).composer require cedricziel/instana-opentracing-bundle.config/app.php:
'providers' => [
CedricZiel\InstanaBundle\InstanaBundle::class,
],
config/packages/instana.yaml:
instana:
agent_url: 'https://your-instana-agent:42699'
api_key: '%env(INSTANA_API_KEY)%'
INSTANA_DEBUG=1 to verify spans appear in Instana UI.htop during trace collection)./health).opentracing.tracer.default).opentracing-php-http).error=true on failed DB queries)./webhook endpoints).cedricziel/instana-opentracing-bundle for releases (likely infrequent).instana-php-client and opentracing-php versions to avoid breaking changes.instana.yaml) to avoid per-environment mismatches.INSTANA_LOG_LEVEL=debug).opentracing-php’s Tracer::getActiveSpan() for runtime inspection./api/*).memory_get_usage().How can I help you explore Laravel packages today?