Skip to content

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

Internal_Events_renderd_testing_instructions

How to set up and validate locally

  1. Run ruby scripts/internal_events/cli.rb
  2. Select "View Usage"
  3. Select any event
  4. Select "Manual testing in GDK"
Edited by Sarah Yasonik

Merge request reports