Commit cad7a7bb authored by rpereira2's avatar rpereira2 Committed by syasonik

Change the schema of the common_metrics.yml

- Change it to the new dashboard syntax.
parent d056d9d4
...@@ -38,7 +38,7 @@ module Importers ...@@ -38,7 +38,7 @@ module Importers
attr_reader :content attr_reader :content
def initialize(filename = 'common_metrics.yml') 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 end
def execute def execute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment