tjheslin1/Patterdale

Queries in slowest_queries end up truncated

theangrydev opened this issue · 3 comments

Can't remember if this is intentional or not?

For example, detecting itself, it finds sqlText="SELECT * FROM (SELECT s.elapsed_time / s.executions / 1000 AS AVG_ELAPSED_TI" not the entire query for some reason.

The example query I provide truncates the query to 80 chars:

SUBSTR(s.sql_fulltext, 1, 80) AS SQL_TEXT

See configuration.md which has the full example (this matches src/test/resources/patterdale.yml.

Whoops, thanks missed that somehow