summaryrefslogtreecommitdiff
path: root/lib/gitlab/database_importers/common_metrics/prometheus_metric.rb
blob: b4a392cbea934664dcb2021dda9aa95aa24d5ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module Gitlab
  module DatabaseImporters
    module CommonMetrics
      class PrometheusMetric < ApplicationRecord
        enum group: PrometheusMetricEnums.groups
        scope :common, -> { where(common: true) }
      end
    end
  end
end