newrelic-java-agent icon indicating copy to clipboard operation
newrelic-java-agent copied to clipboard

Update SQL Statement Truncation Across the Agent

Open deleonenriqueta opened this issue 4 months ago • 1 comments

Description

The SQL statement limit for the INSERT_SQL_MAX_LENGTH attribute in Transaction Segments and Slow Query SQL Traces is currently set at 2000 characters and should be increased to 4096 characters. This change ensures consistency with the db.statement limit for Span Events.

Acceptance Criteria

Increase SQL truncation limit for the INSERT_SQL_MAX_LENGTH attribute.

Additional Considerations

  • Assess any potential impact due to increasing the sql statement threshold for truncation
  • Wait for the limit increase to be approved/finalized in the agent-specs before increasing the limit

Additional Context

deleonenriqueta avatar Oct 05 '24 01:10 deleonenriqueta