diff --git a/app/views/admin/health_check/show.html.haml b/app/views/admin/health_check/show.html.haml index 90859b5c1704cf02f7a1baaf3f81653407d316e2..731d68be9b0d975c905e55719dfebe6697a01eae 100644 --- a/app/views/admin/health_check/show.html.haml +++ b/app/views/admin/health_check/show.html.haml @@ -1,6 +1,7 @@ - page_title _('Health Check') - no_errors = @errors.blank? +#div{ data: { event_tracking_load: 'true', event_tracking: 'view_admin_health_check_pageload' } } %h1.page-title.gl-font-size-h-display= page_title = render Pajamas::AlertComponent.new(variant: :tip, dismissible: false, alert_options: { class: 'gl-mb-5' }) do |c| - c.with_body do diff --git a/config/events/view_admin_health_check_pageload.yml b/config/events/view_admin_health_check_pageload.yml new file mode 100644 index 0000000000000000000000000000000000000000..8b4ba7c2b1ae06ab5a59bcdf5944d2a09e42cbbe --- /dev/null +++ b/config/events/view_admin_health_check_pageload.yml @@ -0,0 +1,16 @@ +--- +description: Tracks pageviews for the admin health check page +internal_events: true +action: view_admin_health_check_pageload +identifiers: +- user +product_group: personal_productivity +milestone: '17.2' +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156829 +distributions: +- ce +- ee +tiers: +- free +- premium +- ultimate diff --git a/config/metrics/counts_28d/count_distinct_user_id_from_view_admin_health_check_pageload_monthly.yml b/config/metrics/counts_28d/count_distinct_user_id_from_view_admin_health_check_pageload_monthly.yml new file mode 100644 index 0000000000000000000000000000000000000000..7c83376ff9c4e3033ded1aad489cfe96ff8bc786 --- /dev/null +++ b/config/metrics/counts_28d/count_distinct_user_id_from_view_admin_health_check_pageload_monthly.yml @@ -0,0 +1,22 @@ +--- +key_path: redis_hll_counters.count_distinct_user_id_from_view_admin_health_check_pageload_monthly +description: Monthly count of unique users who visited the admin health check 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/156829 +time_frame: 28d +data_source: internal_events +data_category: optional +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +events: +- name: view_admin_health_check_pageload + unique: user.id diff --git a/config/metrics/counts_28d/count_total_view_admin_health_check_pageload_monthly.yml b/config/metrics/counts_28d/count_total_view_admin_health_check_pageload_monthly.yml new file mode 100644 index 0000000000000000000000000000000000000000..79ef2cb96b1955efe0177dae1196760c7a84ceef --- /dev/null +++ b/config/metrics/counts_28d/count_total_view_admin_health_check_pageload_monthly.yml @@ -0,0 +1,21 @@ +--- +key_path: counts.count_total_view_admin_health_check_pageload_monthly +description: Monthly count of total users who visited the admin health check 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/156829 +time_frame: 28d +data_source: internal_events +data_category: optional +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +events: +- name: view_admin_health_check_pageload diff --git a/config/metrics/counts_7d/count_distinct_user_id_from_view_admin_health_check_pageload_weekly.yml b/config/metrics/counts_7d/count_distinct_user_id_from_view_admin_health_check_pageload_weekly.yml new file mode 100644 index 0000000000000000000000000000000000000000..30ca44dd659382ea50b083fd15a6696870015138 --- /dev/null +++ b/config/metrics/counts_7d/count_distinct_user_id_from_view_admin_health_check_pageload_weekly.yml @@ -0,0 +1,22 @@ +--- +key_path: redis_hll_counters.count_distinct_user_id_from_view_admin_health_check_pageload_weekly +description: Weekly count of unique users who visited the admin health check 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/156829 +time_frame: 7d +data_source: internal_events +data_category: optional +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +events: +- name: view_admin_health_check_pageload + unique: user.id diff --git a/config/metrics/counts_7d/count_total_view_admin_health_check_pageload_weekly.yml b/config/metrics/counts_7d/count_total_view_admin_health_check_pageload_weekly.yml new file mode 100644 index 0000000000000000000000000000000000000000..136afb973d4c3a732d3318dd4d735e8b61a97fed --- /dev/null +++ b/config/metrics/counts_7d/count_total_view_admin_health_check_pageload_weekly.yml @@ -0,0 +1,21 @@ +--- +key_path: counts.count_total_view_admin_health_check_pageload_weekly +description: Weekly count of total users who visited the admin health check 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/156829 +time_frame: 7d +data_source: internal_events +data_category: optional +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +events: +- name: view_admin_health_check_pageload