elastic / elastic/apm-agent-php

[WordPress][Feature Request] Database dependencies - double listing

Open
#816 1 comment 0 reactions 0 assignees View on GitHub
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:
![image](https://user-images.githubusercontent.com/339796/199775089-e613b591-b6e8-4c73-854c-05f7ec1f2bfa.png)

This comes because the database gets chosen in the 4th span of a transaction:
![image](https://user-images.githubusercontent.com/339796/199774998-4af71ba9-d90b-45f0-a297-688ab12ddde2.png)

**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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.