2021-02-18 15:09:43 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Admin::UsageTrendsController < Admin::ApplicationController
|
2022-08-12 00:09:35 +00:00
|
|
|
include ProductAnalyticsTracking
|
2021-02-18 15:09:43 +00:00
|
|
|
|
2022-08-12 00:09:35 +00:00
|
|
|
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-02-18 15:09:43 +00:00
|
|
|
|
|
|
|
feature_category :devops_reports
|
|
|
|
|
2022-03-04 18:20:01 +00:00
|
|
|
urgency :low
|
|
|
|
|
2021-02-18 15:09:43 +00:00
|
|
|
def index
|
|
|
|
end
|
2022-08-12 00:09:35 +00:00
|
|
|
|
|
|
|
def tracking_namespace_source
|
|
|
|
@group
|
|
|
|
end
|
|
|
|
|
|
|
|
def tracking_project_source
|
|
|
|
nil
|
|
|
|
end
|
2021-02-18 15:09:43 +00:00
|
|
|
end
|