diff options
Diffstat (limited to 'lib/gitlab/metrics/dashboard/stages/track_panel_type.rb')
-rw-r--r-- | lib/gitlab/metrics/dashboard/stages/track_panel_type.rb | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/gitlab/metrics/dashboard/stages/track_panel_type.rb b/lib/gitlab/metrics/dashboard/stages/track_panel_type.rb deleted file mode 100644 index 71da779d16c..00000000000 --- a/lib/gitlab/metrics/dashboard/stages/track_panel_type.rb +++ /dev/null @@ -1,27 +0,0 @@ -# frozen_string_literal: true - -module Gitlab - module Metrics - module Dashboard - module Stages - class TrackPanelType < BaseStage - def transform! - for_panel_groups do |panel_group| - for_panels_in(panel_group) do |panel| - track_panel_type(panel) - end - end - end - - private - - def track_panel_type(panel) - panel_type = panel[:type] - - Gitlab::Tracking.event('MetricsDashboard::Chart', 'chart_rendered', label: panel_type) - end - end - end - end - end -end |