Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 1.19 KB

Zipkin Doctrine instrumentation for Symfony

This extension is meant to be used with jcchavezs/zipkin-instrumentation-symfony

Install

Symfony 3

  1. Include the bundle ZipkinDoctrine\Integrations\Symfony\Bundle in the AppKernel.php bundles' list.
  2. Declare ZipkinDoctrine\Connection as the wrapper_class in the connection, as described in DoctrineBundle documentation
  3. Declare the options in the parameter doctrine.tracer.zipkin.options as a key value map: ['affected_rows': true]
  4. Voilá

Symfony 4

  1. Go to config/bundles.php and and make sure both bundles are included:
    ZipkinBundle\ZipkinBundle::class => ['all' => true],
    ZipkinDoctrine\Integrations\Symfony\Bundle::class => ['all' => true]
  1. Declare ZipkinDoctrine\Connection as the wrapper_class in the connection, as described in DoctrineBundle documentation
  2. Declare the options in the parameter doctrine.tracer.zipkin.options as a key value map: ['affected_rows': true]
  3. Voilá
You can’t perform that action at this time.