debian-mirror-gitlab/app/services/projects/prometheus/metrics/base_service.rb
2022-07-16 19:58:13 +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