Skip to content

Commit 4560bd5

Browse files
committed
remove setting of raw string on agent attribute
1 parent 7040f32 commit 4560bd5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

newrelic-agent/src/main/java/com/newrelic/agent/sql/DefaultSlowQueryListener.java

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ public <T> void noticeTracer(Tracer tracer, SlowQueryDatastoreParameters<T> slow
6868
}
6969

7070
// This allows transaction traces to show slow queries directly in the trace details
71-
tracer.setAgentAttribute(SqlTracer.SQL_PARAMETER_NAME, queryString);
7271
tracer.setAgentAttribute(SqlTracer.SQL_OBFUSCATED_PARAMETER_NAME, obfuscatedQueryString);
7372

7473
DatastoreConfig datastoreConfig = ServiceFactory.getConfigService().getDefaultAgentConfig().getDatastoreConfig();

0 commit comments

Comments
 (0)