metric_group.rb 298 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 module Gitlab module Prometheus class MetricGroup include ActiveModel::Model attr_accessor :name, :priority, :metrics validates :name, :priority, :metrics, presence: true def self.all AdditionalMetricsParser.load_groups_from_yaml end end end end