doctrine/orm
does not expose proper interfaces for instrumentation, hence this library provides a connection extending the Doctrine\DBAL\Connection
class and
be able to instrument all database calls.
It is important to use the specific integrations for frameworks (e.g. Symfony) in order to make this library work as it requires some configurations because plugging the tracer is not straighforward.
composer require jcchavezs/zipkin-instrumentation-doctrine
Head to the documentation for specific framewors: