summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorMiguel Rincon <mrincon@gitlab.com>2019-08-21 13:43:01 +0000
committerKushal Pandya <kushalspandya@gmail.com>2019-08-21 13:43:01 +0000
commitf2619e21bebe388182ec282bfec78da2b2625d49 (patch)
tree7f21b96ba94c3f3c204d0095783d090a48a3e446 /db
parent0a4d4c0a58162e695c3202c323d8febe833ef162 (diff)
downloadgitlab-ce-f2619e21bebe388182ec282bfec78da2b2625d49.tar.gz
This commit adds a new time series component
Adds a time series component for line and area charts. Displays new charts in the dashboard. - Use dynamic components for line/area swapping - Add new line charts to dashboard in 2 panels
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20190814205640_import_common_metrics_line_charts.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20190814205640_import_common_metrics_line_charts.rb b/db/migrate/20190814205640_import_common_metrics_line_charts.rb
new file mode 100644
index 00000000000..1c28d686a42
--- /dev/null
+++ b/db/migrate/20190814205640_import_common_metrics_line_charts.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+class ImportCommonMetricsLineCharts < ActiveRecord::Migration[5.2]
+ DOWNTIME = false
+
+ def up
+ ::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute
+ end
+
+ def down
+ # no-op
+ end
+end