diff options
author | Ryan Cobb <rcobb@gitlab.com> | 2019-07-03 16:19:15 -0700 |
---|---|---|
committer | Ryan Cobb <rcobb@gitlab.com> | 2019-07-09 17:02:08 -0600 |
commit | 36f39eb3189a4caa5225214570de3bfdcd418df1 (patch) | |
tree | 5667a649c146496c5ca41e936a1c87f2c7ace9ca /doc/development/prometheus_metrics.md | |
parent | 3cabc5581e4d96180c83fbe3d24362bb2c64f2be (diff) | |
download | gitlab-ce-36f39eb3189a4caa5225214570de3bfdcd418df1.tar.gz |
Remove CommonMetricsImporter patch
Remove CommonMetricsImporter patch and change all references to
CommonMetrics::Importer. Move specs into their appropriate folders. Also
cleans up some common_metric importer namespacing.
Diffstat (limited to 'doc/development/prometheus_metrics.md')
-rw-r--r-- | doc/development/prometheus_metrics.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/development/prometheus_metrics.md b/doc/development/prometheus_metrics.md index 0511e735843..bca0b22b650 100644 --- a/doc/development/prometheus_metrics.md +++ b/doc/development/prometheus_metrics.md @@ -33,12 +33,10 @@ For example: you might be interested in migrating all dependent data to a differ class ImportCommonMetrics < ActiveRecord::Migration[4.2] include Gitlab::Database::MigrationHelpers - require Rails.root.join('db/importers/common_metrics_importer.rb') - DOWNTIME = false def up - Importers::CommonMetricsImporter.new.execute + ::Gitlab::Importers::CommonMetrics::Importer.new.execute end def down |