Skip to content

Add support for numbers instrumentation in generator

Tarun Vellishetty requested to merge update-generator-with-numbers-class into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Follow up work for !87521 (merged)

This MR adds support for the NumbersMetric class in the usage metric generator

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

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

  1. Running the following should generate files for a new metric that inherits from NumbersMetric
    rails generate gitlab:usage_metric AddIssues --type numbers --operation add

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tarun Vellishetty

Merge request reports