diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-29 00:09:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-29 00:09:36 +0300 |
commit | e5940143fe1fdb95ed7c3dc6f0a4efdfaaf876c0 (patch) | |
tree | 006afb964e1f39ccc5429d8cc91793f6cab4ddf4 /spec/tooling/fixtures | |
parent | 953180403c1798ba42d396742e0691d5772da3a5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/tooling/fixtures')
-rw-r--r-- | spec/tooling/fixtures/metrics/sample_instrumentation_metric.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/tooling/fixtures/metrics/sample_instrumentation_metric.rb b/spec/tooling/fixtures/metrics/sample_instrumentation_metric.rb new file mode 100644 index 00000000000..d6b86137b1b --- /dev/null +++ b/spec/tooling/fixtures/metrics/sample_instrumentation_metric.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Gitlab + module Usage + module Metrics + module Instrumentations + class ActiveUserCountMetric < DatabaseMetric + operation :count + + relation { SuperUser.active } + end + end + end + end +end |