Skip to content

Commit

Permalink
remove setting of raw string on agent attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
XiXiaPdx committed Nov 16, 2021
1 parent 7040f32 commit 4560bd5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public <T> void noticeTracer(Tracer tracer, SlowQueryDatastoreParameters<T> 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();
Expand Down

0 comments on commit 4560bd5

Please sign in to comment.