Welcome to mirror list, hosted at ThFree Co, Russian Federation.

usage_trends_controller.rb « admin « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f88028535c10b7fa042d317335864b8840f949be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# frozen_string_literal: true

class Admin::UsageTrendsController < Admin::ApplicationController
  include ProductAnalyticsTracking

  track_event :index,
    name: 'i_analytics_instance_statistics',
    action: 'perform_analytics_usage_action',
    label: 'redis_hll_counters.analytics.analytics_total_unique_counts_monthly',
    destinations: %i[redis_hll snowplow]

  feature_category :devops_reports

  urgency :low

  def index
  end

  def tracking_namespace_source
    @group
  end

  def tracking_project_source
    nil
  end
end