Closed
Description
In version 3.11.5 of the mysql2
library (refer to the PR below), some dependencies have been reorganized, and the query
, execute
, and addCommand
methods have been consolidated into the Connection
class under the base
directory.
Therefore, when creating hooks for the mysql2
library in datadog-instrumentations
, it seems necessary to add hooks based on lib/base/connection.js
for version 3.11.5.
Additionally, since the query
and execute
methods in lib/connection.js
, lib/pool.js
, and lib/pool_cluster.js
also reference the query
and execute
methods in lib/base/connection.js
, it is necessary to ensure that they are not hooked redundantly.
Metadata
Metadata
Assignees
Labels
No labels