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
|
|
|
|
2023-05-27 22:25:52 +05:30
|
|
|
track_event :index,
|
2022-08-27 11:52:29 +05:30
|
|
|
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
|