Build a test to compare service ping output with output of the values from SQL generated
Summary
Build a test to compare the output of generated Service Ping with the output of the values we get by running the generated queries
Details
- Create test data. We would need to have data in multiple tables we have metrics for. Consider having data older than 1 month.
- Generate service ping with
Gitlab::UsageData.data
- Generate queries using
Gitlab::UsageDataQueries.data
- Run the queries generated at 3.
- Compare results with data generated with 2.
Edited by Niko Belokolodov