Skip to content

Make it possible to loop creation of metric&event definitions

Michał Wielich requested to merge michold-cli-list-all into master

What does this MR do and why?

Related to #461637 (closed)

In internal events cli, make it possible to create an event and a metric after creating an event or a metric without quitting the cli.

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

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

Before After

How to set up and validate locally

  1. Run the cli: ruby scripts/internal_events/cli.rb

  2. Go through the new scenarios:

    • creating a metric and then an event
    • creating a metric and then a metric
    • creating an event and then an event
  3. For each of these scenarios, make sure that appropriate files [metric/event definition] have been created.

Edited by Michał Wielich

Merge request reports