diff --git a/app/views/admin/system_info/show.html.haml b/app/views/admin/system_info/show.html.haml index c93455d6c2d15cfcc8a230518f21946177d90926..a82b283080206a77dcd7d156097088b3e7d6e07b 100644 --- a/app/views/admin/system_info/show.html.haml +++ b/app/views/admin/system_info/show.html.haml @@ -1,7 +1,7 @@ - page_title _('System information') = render ::Layouts::PageHeadingComponent.new(_('System information')) -.gl-grid.sm:gl-grid-cols-2.md:gl-grid-cols-3.gl-gap-5 +.gl-grid.sm:gl-grid-cols-2.md:gl-grid-cols-3.gl-gap-5{ data: { event_tracking_load: 'true', event_tracking: 'view_admin_system_info_pageload' } } = render Pajamas::CardComponent.new do |c| - c.with_body do - if @cpus diff --git a/config/events/view_admin_system_info_pageload.yml b/config/events/view_admin_system_info_pageload.yml new file mode 100644 index 0000000000000000000000000000000000000000..e4869f51b43cbf5263f2a9f4afb551a2cbfdd600 --- /dev/null +++ b/config/events/view_admin_system_info_pageload.yml @@ -0,0 +1,16 @@ +--- +description: Tracks pageviews for the admin system information page +internal_events: true +action: view_admin_system_info_pageload +identifiers: +- user +product_group: personal_productivity +milestone: '17.2' +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156825 +distributions: +- ce +- ee +tiers: +- free +- premium +- ultimate diff --git a/config/metrics/counts_28d/count_distinct_user_id_from_view_admin_system_info_pageload_monthly.yml b/config/metrics/counts_28d/count_distinct_user_id_from_view_admin_system_info_pageload_monthly.yml new file mode 100644 index 0000000000000000000000000000000000000000..a9e53691f1be431eaa7356b7ae7316bdc474d922 --- /dev/null +++ b/config/metrics/counts_28d/count_distinct_user_id_from_view_admin_system_info_pageload_monthly.yml @@ -0,0 +1,22 @@ +--- +key_path: redis_hll_counters.count_distinct_user_id_from_view_admin_system_info_pageload_monthly +description: Monthly count of unique users who visited the admin system info page +product_group: personal_productivity +performance_indicator_type: [] +value_type: number +status: active +milestone: '17.2' +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156825 +time_frame: 28d +data_source: internal_events +data_category: optional +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +events: +- name: view_admin_system_info_pageload + unique: user.id diff --git a/config/metrics/counts_28d/count_total_view_admin_system_info_pageload_monthly.yml b/config/metrics/counts_28d/count_total_view_admin_system_info_pageload_monthly.yml new file mode 100644 index 0000000000000000000000000000000000000000..7ebd4e08b5de03d7bf5b54bc57bba9250a5b1f29 --- /dev/null +++ b/config/metrics/counts_28d/count_total_view_admin_system_info_pageload_monthly.yml @@ -0,0 +1,21 @@ +--- +key_path: counts.count_total_view_admin_system_info_pageload_monthly +description: Monthly count of total users who visited the admin system info page +product_group: personal_productivity +performance_indicator_type: [] +value_type: number +status: active +milestone: '17.2' +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156825 +time_frame: 28d +data_source: internal_events +data_category: optional +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +events: +- name: view_admin_system_info_pageload diff --git a/config/metrics/counts_7d/count_distinct_user_id_from_view_admin_system_info_pageload_weekly.yml b/config/metrics/counts_7d/count_distinct_user_id_from_view_admin_system_info_pageload_weekly.yml new file mode 100644 index 0000000000000000000000000000000000000000..411f64bab2d1d2a6072272c7789c24e1ca089e33 --- /dev/null +++ b/config/metrics/counts_7d/count_distinct_user_id_from_view_admin_system_info_pageload_weekly.yml @@ -0,0 +1,22 @@ +--- +key_path: redis_hll_counters.count_distinct_user_id_from_view_admin_system_info_pageload_weekly +description: Weekly count of unique users who visited the admin system info page +product_group: personal_productivity +performance_indicator_type: [] +value_type: number +status: active +milestone: '17.2' +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156825 +time_frame: 7d +data_source: internal_events +data_category: optional +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +events: +- name: view_admin_system_info_pageload + unique: user.id diff --git a/config/metrics/counts_7d/count_total_view_admin_system_info_pageload_weekly.yml b/config/metrics/counts_7d/count_total_view_admin_system_info_pageload_weekly.yml new file mode 100644 index 0000000000000000000000000000000000000000..c321f898f516bd5b9af26302e169c50fca407702 --- /dev/null +++ b/config/metrics/counts_7d/count_total_view_admin_system_info_pageload_weekly.yml @@ -0,0 +1,21 @@ +--- +key_path: counts.count_total_view_admin_system_info_pageload_weekly +description: Weekly count of total users who visited the admin system info page +product_group: personal_productivity +performance_indicator_type: [] +value_type: number +status: active +milestone: '17.2' +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156825 +time_frame: 7d +data_source: internal_events +data_category: optional +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +events: +- name: view_admin_system_info_pageload