Skip to content

Add rake task and API test for Service Ping generated queries

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR adds a rake task that generates SQL metrics as a JSON file. This also includes unit and API tests. The API test ensures the generated SQL metric query matches the selected JSON responses.

Screenshots or screen recordings

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

How to set up and validate locally

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

Specs should pass locally when the generated query matches the selected JSOn responses

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 #347545 (closed)

Edited by Carlo Catimbang

Merge request reports

Loading