debian-mirror-gitlab/lib/gitlab/usage/metrics/instrumentations/base_metric.rb
2021-09-04 01:27:46 +05:30

22 lines
460 B
Ruby

# frozen_string_literal: true
module Gitlab
module Usage
module Metrics
module Instrumentations
class BaseMetric
include Gitlab::Utils::UsageData
include Gitlab::Usage::TimeFrame
attr_reader :time_frame
attr_reader :options
def initialize(time_frame:, options: {})
@time_frame = time_frame
@options = options
end
end
end
end
end
end