You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MySQL tracing does not support connection pools #3352
Provide a link to the affected event from your Sentry account
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node(raven for node)
other:
Version:
6.2.3
Description
I have noticed that when a mysql query is ran via a connection pool, the tracing integration does not attach to the query. I looked through the source code of mysqljs and found that Pool.prototype.querydirectly calls Connection.createQuery and sends a fully structured Query object into Connection.prototype.query via the sql parameter. Because of this, the query is ignored by the tracing integration as the callback is not passed inside the standard values or callback parameters.
Activity