An error occurred while fetching the assigned iteration of the selected issue.
Include statements in postgresql elastic logs for better debugging
Currently, for analysing slow queries, we need to log into a DB host and search through the local logs, because we redacted query statements when sending logs to elastic, for security reasons.
Instead we should consider to include the statement in the logs and just redact values between ''
. This should allows us to aggregate by class of query and make it easier to debug DB performance issues because of slow queries.