apm-agent-php icon indicating copy to clipboard operation
apm-agent-php copied to clipboard

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

Open petericebear opened this issue 3 years ago • 1 comments

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

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

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.

petericebear avatar Nov 03 '22 16:11 petericebear

note:

  1. maybe we should hide spans if they're not making any database modification - fetch metadata from them and attach into other spans
  2. try to extract database name from connection string/constructor

intuibase avatar Dec 12 '23 09:12 intuibase