Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d3d0ebe2
Commit
d3d0ebe2
authored
Jul 03, 2019
by
Ryan Cobb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fully namespace importer in migrations
parent
ea0106d8
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
db/fixtures/development/99_common_metrics.rb
db/fixtures/development/99_common_metrics.rb
+1
-1
db/fixtures/production/999_common_metrics.rb
db/fixtures/production/999_common_metrics.rb
+1
-1
db/migrate/20181006004100_import_common_metrics_nginx_vts.rb
db/migrate/20181006004100_import_common_metrics_nginx_vts.rb
+1
-1
db/migrate/20190326164045_import_common_metrics_knative.rb
db/migrate/20190326164045_import_common_metrics_knative.rb
+1
-1
db/migrate/20190408163745_prometheus_knative05_fix.rb
db/migrate/20190408163745_prometheus_knative05_fix.rb
+1
-1
doc/development/prometheus_metrics.md
doc/development/prometheus_metrics.md
+1
-1
No files found.
db/fixtures/development/99_common_metrics.rb
View file @
d3d0ebe2
# frozen_string_literal: true
# frozen_string_literal: true
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
::
Gitlab
::
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
db/fixtures/production/999_common_metrics.rb
View file @
d3d0ebe2
# frozen_string_literal: true
# frozen_string_literal: true
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
::
Gitlab
::
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
db/migrate/20181006004100_import_common_metrics_nginx_vts.rb
View file @
d3d0ebe2
...
@@ -4,7 +4,7 @@ class ImportCommonMetricsNginxVts < ActiveRecord::Migration[5.0]
...
@@ -4,7 +4,7 @@ class ImportCommonMetricsNginxVts < ActiveRecord::Migration[5.0]
DOWNTIME
=
false
DOWNTIME
=
false
def
up
def
up
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
::
Gitlab
::
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
end
end
def
down
def
down
...
...
db/migrate/20190326164045_import_common_metrics_knative.rb
View file @
d3d0ebe2
...
@@ -6,7 +6,7 @@ class ImportCommonMetricsKnative < ActiveRecord::Migration[5.0]
...
@@ -6,7 +6,7 @@ class ImportCommonMetricsKnative < ActiveRecord::Migration[5.0]
DOWNTIME
=
false
DOWNTIME
=
false
def
up
def
up
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
::
Gitlab
::
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
end
end
def
down
def
down
...
...
db/migrate/20190408163745_prometheus_knative05_fix.rb
View file @
d3d0ebe2
...
@@ -9,7 +9,7 @@ class PrometheusKnative05Fix < ActiveRecord::Migration[5.0]
...
@@ -9,7 +9,7 @@ class PrometheusKnative05Fix < ActiveRecord::Migration[5.0]
DOWNTIME
=
false
DOWNTIME
=
false
def
up
def
up
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
::
Gitlab
::
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
end
end
def
down
def
down
...
...
doc/development/prometheus_metrics.md
View file @
d3d0ebe2
...
@@ -36,7 +36,7 @@ class ImportCommonMetrics < ActiveRecord::Migration[4.2]
...
@@ -36,7 +36,7 @@ class ImportCommonMetrics < ActiveRecord::Migration[4.2]
DOWNTIME
=
false
DOWNTIME
=
false
def
up
def
up
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
::
Gitlab
::
Importers
::
CommonMetrics
::
Importer
.
new
.
execute
end
end
def
down
def
down
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment