diff options
author | rpereira2 <rpereira@gitlab.com> | 2019-04-11 17:39:58 +0300 |
---|---|---|
committer | syasonik <syasonik@gitlab.com> | 2019-04-24 13:23:03 +0300 |
commit | cad7a7bb24e16513101f89792379ce9a1cbe3a04 (patch) | |
tree | 853786222a67839828bf1596347e21e8e3b7ccf4 | |
parent | d056d9d4b78230d16bdda2557434f50bc929a657 (diff) |
Change the schema of the common_metrics.yml
- Change it to the new dashboard syntax.
-rw-r--r-- | db/importers/common_metrics_importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/importers/common_metrics_importer.rb b/db/importers/common_metrics_importer.rb index 195bde8f34a..f40be12719a 100644 --- a/db/importers/common_metrics_importer.rb +++ b/db/importers/common_metrics_importer.rb @@ -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 |