A individual has noticed the Java Agent's sql attribute is added to the root span but does not always contain the slowest query. There is a dashboard that shows slow queries and noticed that db.statement sometimes shows a query slower than that presented in sql.
The sql attribute is a supplementary attribute added by the Java agent.
Basically, why does sql not appear in db.statement, and why does db.statement have some queries that are slower than those shown in sql.
A individual has noticed the Java Agent's sql attribute is added to the root span but does not always contain the slowest query. There is a dashboard that shows slow queries and noticed that db.statement sometimes shows a query slower than that presented in sql.
The sql attribute is a supplementary attribute added by the Java agent.
Basically, why does sql not appear in db.statement, and why does db.statement have some queries that are slower than those shown in sql.
https://newrelic.atlassian.net/browse/GTSE-13832
(Migrate to Jira)