Query Reporting: Record the database queries issued during an rspec run
As a first step towards Automated Query Analysis for Merge Requests (gitlab-org/database-team&12 - closed), we should instrument and record all the queries issued during CI rspec runs.
Gitlab's rspec run is split across many jobs, so the output file format for these jobs needs to be easy to recombine once all the parallel jobs are finished, similar to code coverage.
Definition of Done:
-
All queries are recorded raw to a file and artifact-ed as a part of their jobs.
Edited by Alex Ives