Add service ping helpers and manual testing instructions
What does this MR do and why?
- What: Adds some helpers to adjust the timeframe of service ping to include most recent usage data, for use in specs & the rails console.
- Why: When generating a service ping report in the currently recommended way for MR authors, the resultant payload only shows whether the new metrics are included - not whether they are returning the correct data. This is because the service ping timeframe does not include the current date (for performance/consistency reasons). It should be easier for engineers to test locally than that.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Internal_Events_testing_instructions_update
How to set up and validate locally
- Run
ruby scripts/internal_events/cli.rb
- Select "View Usage"
- Select any event
- Select "Manual testing in GDK"
Edited by Sarah Yasonik