summaryrefslogtreecommitdiff
path: root/spec/fixtures/lib/generators/gitlab/usage_metric_generator/sample_numbers_metric.rb
blob: ab6bdaf7a10c428e6dfe12025ed63ea7f6d4c200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Gitlab
  module Usage
    module Metrics
      module Instrumentations
        class CountFooMetric < NumbersMetric
          operation :add

          data do |time_frame|
            [
              # Insert numbers here
            ]
          end
        end
      end
    end
  end
end