Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/code-tool/doctrine-jaeger-symfony-bridge

Symfony bridge Doctrine DBAL jaeger library
https://github.com/code-tool/doctrine-jaeger-symfony-bridge

dbal doctrine doctrine-dbal jaeger opentracing profiling symfony symfony-bundle

Last synced: about 2 months ago
JSON representation

Symfony bridge Doctrine DBAL jaeger library

Awesome Lists containing this project

README

        

# Symfony Bridge for Doсtrine Jaeger library

## Getting started
Register bundle with your kernel:
```php
// config/bundles.php
return [
// ...
\Doctrine\DBAL\Jaeger\Symfony\DependencyInjection\JaegerDbalBundle::class => ['all' => true],
// ...
];
```
OR

```php
// app/AppKernel.php
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
// ...
new \Doctrine\DBAL\Jaeger\Symfony\DependencyInjection\JaegerDbalBundle(),
];

// ...
}
}
```

Add wrapper class definition in doctrine configuration
```yaml
doctrine:
dbal:
connections:
%connection_name%:
...
wrapper_class: 'Doctrine\DBAL\Jaeger\Wrapper\JaegerConnectionWrapper'
...
```