Skip to content

Log sql query in Sidekiq error logs

Heinrich Lee Yu requested to merge log-sql-sidekiq into master

What does this MR do and why?

Use Gitlab::ExceptionLogFormatter for Sidekiq logs so that we use the standard keys and include the SQL query in case of timeouts.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Heinrich Lee Yu

Merge request reports