debian-mirror-gitlab/spec/tooling/fixtures/metrics/sample_instrumentation_metric.rb
2023-03-05 14:24:40 +05:30

15 lines
270 B
Ruby

# 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