Add class_name option to metric definition generator
What does this MR do and why?
- Add
class_name
option to metric definition generator - Add
instrumentation_class: RedisHLLLMetric
to generated redis hll metrics definitons
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
-
bundle exec rails generate gitlab:usage_metric_definition counts.issues_a counts.more_issues --class_name=CountsMoreIssues --dir=7d
-
bundle exec rails generate gitlab:usage_metric_definition:redis_hll issues count_issues_closed
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Alina Mihaila