Skip to content

Commit

Permalink
Increased SQL TAG to 2048
Browse files Browse the repository at this point in the history
  • Loading branch information
amigin committed Oct 19, 2023
1 parent 42b2a10 commit 1136250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions my-postgres-core/src/connection/postgres_connect_inner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ fn get_sql_telemetry_tags(sql: Option<&str>) -> Option<Vec<my_telemetry::Telemet
if let Some(sql) = sql {
Some(vec![my_telemetry::TelemetryEventTag {
key: "SQL".to_string(),
value: if sql.len() > 255 {
sql[..255].to_string()
value: if sql.len() > 2048 {
sql[..2048].to_string()
} else {
sql.to_string()
},
Expand Down

0 comments on commit 1136250

Please sign in to comment.