elastic / elastic/apm-agent-php
[WordPress][Feature Request] Database dependencies - double listing
Open
agent-php
enhancement
triage: pass 1
- Dominant language
- PHP
- Stars
- 268
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Looking at the service map I see a double entry for the mysql dependency. Like:

This comes because the database gets chosen in the 4th span of a transaction:

**Describe the solution you'd like**
See prior spans not connected to a specific database, and overwrite the database name that has been selected. Or set a suggested databasename.
Contributor guide
Assessment
This issue has not been assessed yet.