debian-mirror-gitlab/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

2021-04-17 20:07:23 +05:30
# frozen_string_literal: true
class Admin::UsageTrendsController < Admin::ApplicationController
2022-08-27 11:52:29 +05:30
include ProductAnalyticsTracking
2021-04-17 20:07:23 +05:30
2022-08-27 11:52:29 +05:30
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]
2021-04-17 20:07:23 +05:30
feature_category :devops_reports
2022-05-07 20:08:51 +05:30
urgency :low
2021-04-17 20:07:23 +05:30
def index
end
2022-08-27 11:52:29 +05:30
def tracking_namespace_source
@group
end
def tracking_project_source
nil
end
2021-04-17 20:07:23 +05:30
end