debian-mirror-gitlab/lib/generators/gitlab/usage_metric/USAGE
2021-09-04 02:52:04 +05:30

9 lines
330 B
Text

Description:
Creates a stub instrumentation for a Service Ping metric
Example:
rails generate gitlab:usage_metric CountIssues --type database
This will create:
lib/gitlab/usage/metrics/instrumentations/count_issues_metric.rb
spec/lib/gitlab/usage/metrics/instrumentations/count_issues_metric_spec.rb