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
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.
The text was updated successfully, but these errors were encountered:
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node
(raven for node)Version:
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 thatPool.prototype.query
directly callsConnection.createQuery
and sends a fully structuredQuery
object intoConnection.prototype.query
via thesql
parameter. Because of this, the query is ignored by the tracing integration as the callback is not passed inside the standardvalues
orcallback
parameters.The text was updated successfully, but these errors were encountered: