Improve repeated module namespace in usage data metrics instrumentation
Follow up issue from note
The module namespace seems to be always
Gitlab::Usage::Metrics::Instrumentations
and could be DRYed I think by omitting it and using it whereverinstrumentation_class
is used.
Proposal
Compose the class name by using the information in metric defintion YAML and the repeated namespaces when generating usage ping
instrumentation_class = "Gitlab::Usage::Metrics::Instrumentations::#{definition.attributes[:instrumentation_class]}"
cc @alper