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