From 4560bd5c87a9f32ddf7cdda00443b2e5106e9ca1 Mon Sep 17 00:00:00 2001 From: xi xia Date: Tue, 16 Nov 2021 11:16:22 -0800 Subject: [PATCH] remove setting of raw string on agent attribute --- .../java/com/newrelic/agent/sql/DefaultSlowQueryListener.java | 1 - 1 file changed, 1 deletion(-) diff --git a/newrelic-agent/src/main/java/com/newrelic/agent/sql/DefaultSlowQueryListener.java b/newrelic-agent/src/main/java/com/newrelic/agent/sql/DefaultSlowQueryListener.java index b8304fac7d..5fc807c4cb 100644 --- a/newrelic-agent/src/main/java/com/newrelic/agent/sql/DefaultSlowQueryListener.java +++ b/newrelic-agent/src/main/java/com/newrelic/agent/sql/DefaultSlowQueryListener.java @@ -68,7 +68,6 @@ public void noticeTracer(Tracer tracer, SlowQueryDatastoreParameters slow } // This allows transaction traces to show slow queries directly in the trace details - tracer.setAgentAttribute(SqlTracer.SQL_PARAMETER_NAME, queryString); tracer.setAgentAttribute(SqlTracer.SQL_OBFUSCATED_PARAMETER_NAME, obfuscatedQueryString); DatastoreConfig datastoreConfig = ServiceFactory.getConfigService().getDefaultAgentConfig().getDatastoreConfig();