diff options
author | Laura Montemayor <lmontemayor@gitlab.com> | 2019-07-26 15:35:10 +0000 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-07-26 15:35:10 +0000 |
commit | 5a96c0534355dab491a620d3b954d9424a43ae36 (patch) | |
tree | fe486ea21e8e4beef9f7eeb30cbccdd5ad3fd78f /db | |
parent | fc3d0595c48095450bc6495ab643e98c5661888f (diff) | |
download | gitlab-ce-5a96c0534355dab491a620d3b954d9424a43ae36.tar.gz |
Updates label value to include units in metrics
This MR updates the y_label values and the label
values in common_metrics and cluster_metrics to
append the units of measurement to the labels.
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20190709220014_import_common_metrics_y_axis.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20190709220014_import_common_metrics_y_axis.rb b/db/migrate/20190709220014_import_common_metrics_y_axis.rb new file mode 100644 index 00000000000..89ecf32ecc1 --- /dev/null +++ b/db/migrate/20190709220014_import_common_metrics_y_axis.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class ImportCommonMetricsYAxis < ActiveRecord::Migration[5.1] + DOWNTIME = false + + def up + ::Gitlab::DatabaseImporters::CommonMetrics::Importer.new.execute + end + + def down + # no-op + end +end |