Change the schema of the common_metrics.yml
- Change it to the new dashboard syntax.
This commit is contained in:
parent
d056d9d4b7
commit
cad7a7bb24
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue