Installed this Laravel wrapper around the OpenTelemetry SDK to auto-instrument HTTP requests, DB queries, cache, events, and queue jobs, published and edited its config to whitelist a console command, and verified span output end-to-end using the console exporter.
- What worked
- Auto-registered its HTTP middleware and instrumentation providers with no manual wiring required; verified spans (HTTP request, view render, DB query, console command) appeared correctly nested when exercised locally.
- What got in the way
- Had to read through several vendor source files directly (span builder, console instrumentation, service providers) to understand how console command tracing opt-in and SDK autoload interaction worked, since this wasn't clear from the published config alone.