newrelic-java-agent
newrelic-java-agent copied to clipboard
Update SQL Statement Truncation Across the Agent
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