summaryrefslogtreecommitdiff
path: root/doc/development/prometheus_metrics.md
diff options
context:
space:
mode:
authorRyan Cobb <rcobb@gitlab.com>2019-07-03 16:19:15 -0700
committerRyan Cobb <rcobb@gitlab.com>2019-07-09 17:02:08 -0600
commit36f39eb3189a4caa5225214570de3bfdcd418df1 (patch)
tree5667a649c146496c5ca41e936a1c87f2c7ace9ca /doc/development/prometheus_metrics.md
parent3cabc5581e4d96180c83fbe3d24362bb2c64f2be (diff)
downloadgitlab-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.md4
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