newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
199 stars 143 forks source link

Update SQL Statement Truncation Across the Agent #2090

Open deleonenriqueta opened 3 days ago

deleonenriqueta commented 3 days ago

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

Additional Context

workato-integration[bot] commented 3 days ago

https://new-relic.atlassian.net/browse/NR-322654