Skip to content

Draft: Capture queries during rspec using pg auto_explain

Matt Kasa requested to merge 414325-record-auto-explain-draft into master

What does this MR do and why?

Capture queries during rspec using pg auto_explain

  • Enables auto_explain for postgres >=14 in CI
  • Merges and deduplicates these logs to generate an example plan for each query, if the pipeline:record-queries label is present

Relates to #414325 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Related to #414325 (closed)

Merge request reports

Loading