Commit 8b69523b authored by Pawel Chojnacki's avatar Pawel Chojnacki

move additional_metrics.yaml into prometheus/ config folder

parent 6e4d5334
......@@ -27,7 +27,7 @@ module Gitlab
end
def load_yaml_file
YAML.load_file(Rails.root.join('config/additional_metrics.yml'))
YAML.load_file(Rails.root.join('config/prometheus/additional_metrics.yml'))
end
end
end
......
......@@ -475,7 +475,7 @@ describe Environment, models: true do
end
it 'returns the additional metrics from the deployment service' do
expect(environment.prometheus_service).to receive(:additional_environment_metrics)
expect(project.prometheus_service).to receive(:additional_environment_metrics)
.with(environment)
.and_return(:fake_metrics)
......
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