Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/code-tool/doctrine-jaeger-symfony-bridge
- Owner: code-tool
- License: mit
- Created: 2018-09-17T10:52:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-18T08:59:39.000Z (over 2 years ago)
- Last Synced: 2024-10-11T19:52:09.803Z (3 months ago)
- Topics: dbal, doctrine, doctrine-dbal, jaeger, opentracing, profiling, symfony, symfony-bundle
- Language: PHP
- Homepage:
- Size: 19.5 KB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'
...
```