Skip to content
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

(Contrib) PDO Connection Tracker stopped providing correct attributes for a given PDO #1469

Open
cedricziel opened this issue Jan 8, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@cedricziel
Copy link
Contributor

I dont have a strong idea what happened except that my app was upgraded to PHP 8.4.

Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.

What is the expected behavior?

PDO interactions with a database should be tracked as spans and the connection parameters should be mapped to span attributes (db.system, db.*, ..)

What is the actual behavior?

Only the statement is captured

Additional context
Add any other context about the problem here.

@cedricziel cedricziel added the bug Something isn't working label Jan 8, 2025
@brettmc
Copy link
Collaborator

brettmc commented Jan 15, 2025

The tests still pass against php 8.4.1 (most tests at least check that the db.system trace attribute is in the span attributes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants