Change the schema of the common_metrics.yml

- Change it to the new dashboard syntax.
This commit is contained in:
rpereira2 2019-04-11 20:09:58 +05:30 committed by syasonik
parent d056d9d4b7
commit cad7a7bb24
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ module Importers
attr_reader :content
def initialize(filename = 'common_metrics.yml')
@content = YAML.load_file(Rails.root.join('config', 'prometheus', filename))
@content = YAML.load_file(Rails.root.join('config', 'prometheus', filename)).first
end
def execute