debian-mirror-gitlab/app/services/projects/prometheus/metrics/base_service.rb
2022-07-17 14:43:12 +02:00

20 lines
355 B
Ruby

# frozen_string_literal: true
module Projects
module Prometheus
module Metrics
class BaseService
include Gitlab::Utils::StrongMemoize
def initialize(metric, params = {})
@metric = metric
@params = params.dup
end
protected
attr_reader :metric, :params
end
end
end
end