We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67aa0b8 commit 6cbfd31Copy full SHA for 6cbfd31
collector/pg_stat_statements.go
@@ -75,7 +75,7 @@ var (
75
pg_get_userbyid(userid) as user,
76
pg_database.datname,
77
pg_stat_statements.queryid,
78
- pg_stat_statements.query as query,
+ LEFT(pg_stat_statements.query, %d) as query,
79
pg_stat_statements.calls as calls_total,
80
pg_stat_statements.total_time / 1000.0 as seconds_total,
81
pg_stat_statements.rows as rows_total,
0 commit comments