-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[opentelemetry-php-contrib] Add support for Doctrine library #1393
Comments
Hello, |
You perfectly nailed the situation. We are using non-PDO driver in our projects. |
Copy what PDO auto-instrumentation does :) |
Thanks I will try to do that and when I'm ready we can discuss how to proceed to create a pull request. |
Everything you need should already be in core of the contrib repo. Once you've created your directory ( |
Ok I created the PR I'm waiting my company manager to accept the CLA |
Hi,
No auto-instrumentation for Doctrine library exists at the moment and I was wondering whether there is a planned integration of this instrumentation as a separated package. In the meantime I'm currently using my solution inspired by the existing PDO instrumentation.
This instrumentation hooks on the classes
\Doctrine\DBAL\Driver
and\Doctrine\DBAL\Driver\Connection
and has been tested using Microsoft SQL Server.
Are you in favor of including my proposal as a pull request?
Any comments or enhancements are greatly appreciated.
The text was updated successfully, but these errors were encountered: