Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.19 KB

File metadata and controls

23 lines (17 loc) · 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á