gitlab-org--gitlab-foss/app/controllers/admin/usage_trends_controller.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
545 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Admin::UsageTrendsController < Admin::ApplicationController
include ProductAnalyticsTracking
track_custom_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