auxmoney/opentracing-bundle-doctrine-dbal
db.user tags.opentracing-php or jaeger-client-php). Integrates seamlessly with existing tracing backends.Adopt If:
Look Elsewhere If:
pg_stat_statements).rowCount() inaccuracies for SELECT)."This package lets us automatically trace every database query in our Symfony app, giving us visibility into performance bottlenecks without manual instrumentation. For example, if a user reports slow checkout, we can pinpoint whether it’s a slow SELECT or a locked table—reducing mean time to resolution (MTTR). It integrates with our existing OpenTracing setup (e.g., Jaeger), so no new vendors or costs. Think of it as ‘Google Analytics for your database queries.’"
Key Outcomes:
*"This adds zero-config tracing for Doctrine DBAL using OpenTracing. Here’s how it works:
query(), executeUpdate(), etc., creates a span with:
db.statement),db.parameters), anddb.row_count; caveats apply).db.parameters if sensitive).OpentracingBundle-core—no new dependencies.Why now?
SELECT (PDO limitation); we can disable this tag if needed.Next Steps:
auxmoney/opentracing-bundle-doctrine-dbal + enable the bundle..env (e.g., AUXMONEY_OPENTRACING_DOCTRINE_PARAMETERS=false)."*Risks:
SELECT queries (document this in your observability guide).How can I help you explore Laravel packages today?