Welcome to mirror list, hosted at ThFree Co, Russian Federation.

prometheus_metric.rb « common_metrics « database_importers « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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