debian-mirror-gitlab/lib/generators/gitlab/usage_metric/USAGE

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
330 B
Text
Raw Normal View History

2021-09-04 01:27:46 +05:30
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