diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
commit | e4384360a16dd9a19d4d2d25d0ef1f2b862ed2a6 (patch) | |
tree | 2fcdfa7dcdb9db8f5208b2562f4b4e803d671243 /config/metrics | |
parent | ffda4e7bcac36987f936b4ba515995a6698698f0 (diff) |
Add latest changes from gitlab-org/gitlab@16-2-stable-eev16.2.0-rc42
Diffstat (limited to 'config/metrics')
38 files changed, 615 insertions, 8 deletions
diff --git a/config/metrics/counts_28d/20210216175132_i_code_review_user_create_mr_monthly.yml b/config/metrics/counts_28d/20210216175132_i_code_review_user_create_mr_monthly.yml index fbcacf73dfc..400d7f2600d 100644 --- a/config/metrics/counts_28d/20210216175132_i_code_review_user_create_mr_monthly.yml +++ b/config/metrics/counts_28d/20210216175132_i_code_review_user_create_mr_monthly.yml @@ -8,7 +8,7 @@ product_group: code_review value_type: number status: active time_frame: 28d -data_source: redis_hll +data_source: internal_events instrumentation_class: RedisHLLMetric options: events: diff --git a/config/metrics/counts_28d/20210216175436_projects_slack_notifications_active.yml b/config/metrics/counts_28d/20210216175436_projects_slack_notifications_active.yml new file mode 100644 index 00000000000..46dbe74dde4 --- /dev/null +++ b/config/metrics/counts_28d/20210216175436_projects_slack_notifications_active.yml @@ -0,0 +1,21 @@ +--- +data_category: optional +key_path: usage_activity_by_stage_monthly.configure.projects_slack_notifications_active +description: Unique projects created in the past 28 days that have Slack notifications + enabled +product_section: dev +product_stage: manage +product_group: integrations +value_type: number +status: active +time_frame: 28d +data_source: database +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +performance_indicator_type: [] +milestone: "<13.9" diff --git a/config/metrics/counts_28d/20210216175437_projects_slack_slash_active.yml b/config/metrics/counts_28d/20210216175437_projects_slack_slash_active.yml new file mode 100644 index 00000000000..cdb00803aad --- /dev/null +++ b/config/metrics/counts_28d/20210216175437_projects_slack_slash_active.yml @@ -0,0 +1,21 @@ +--- +data_category: optional +key_path: usage_activity_by_stage_monthly.configure.projects_slack_slash_active +description: Unique projects created in the past 28 days that have Slack ‘/’ commands + enabled +product_section: dev +product_stage: manage +product_group: integrations +value_type: number +status: active +time_frame: 28d +data_source: database +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +performance_indicator_type: [] +milestone: "<13.9" diff --git a/config/metrics/counts_28d/20210216181147_service_desk_enabled_projects.yml b/config/metrics/counts_28d/20210216181147_service_desk_enabled_projects.yml index f45f7be3022..0e9945546f3 100644 --- a/config/metrics/counts_28d/20210216181147_service_desk_enabled_projects.yml +++ b/config/metrics/counts_28d/20210216181147_service_desk_enabled_projects.yml @@ -1,7 +1,7 @@ --- data_category: optional key_path: usage_activity_by_stage_monthly.plan.service_desk_enabled_projects -description: Count creator ids from projects with service desk enabled +description: Count unique users who created projects (creator_id) with service desk enabled product_section: ops product_stage: monitor product_group: respond diff --git a/config/metrics/counts_28d/20210216181323_g_project_management_issue_created_monthly.yml b/config/metrics/counts_28d/20210216181323_g_project_management_issue_created_monthly.yml index 0389fe6a513..1171cf48812 100644 --- a/config/metrics/counts_28d/20210216181323_g_project_management_issue_created_monthly.yml +++ b/config/metrics/counts_28d/20210216181323_g_project_management_issue_created_monthly.yml @@ -8,11 +8,14 @@ product_group: project_management value_type: number status: active time_frame: 28d -data_source: redis_hll +data_source: internal_events instrumentation_class: RedisHLLMetric options: events: - g_project_management_issue_created +events: + - name: g_project_management_issue_created + unique: user.id distribution: - ce - ee diff --git a/config/metrics/counts_28d/20211118200530_p_ci_templates_security_dast_on_demand_api_scan_monthly.yml b/config/metrics/counts_28d/20211118200530_p_ci_templates_security_dast_on_demand_api_scan_monthly.yml new file mode 100644 index 00000000000..b15681e4ec9 --- /dev/null +++ b/config/metrics/counts_28d/20211118200530_p_ci_templates_security_dast_on_demand_api_scan_monthly.yml @@ -0,0 +1,26 @@ +--- +key_path: redis_hll_counters.ci_templates.p_ci_templates_security_dast_on_demand_api_scan_monthly +name: "dast_on_demand_api_scan" +description: Count of pipelines using the latest DAST API template +product_section: sec +product_stage: secure +product_group: "dynamic_analysis" +value_type: number +status: active +milestone: "14.7" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/73564 +time_frame: 28d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - p_ci_templates_security_dast_on_demand_api_scan +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_28d/20220729001651_agent_users_using_ci_tunnel_monthly.yml b/config/metrics/counts_28d/20220729001651_agent_users_using_ci_tunnel_monthly.yml index 6952fdc5ba6..a16dbc17f05 100644 --- a/config/metrics/counts_28d/20220729001651_agent_users_using_ci_tunnel_monthly.yml +++ b/config/metrics/counts_28d/20220729001651_agent_users_using_ci_tunnel_monthly.yml @@ -3,7 +3,7 @@ key_path: redis_hll_counters.kubernetes_agent.agent_users_using_ci_tunnel_monthl description: MAU of the Agent for Kubernetes CI/CD Tunnel product_section: ops product_stage: deploy -product_group: environment +product_group: environments product_category: deployment_management value_type: number status: active diff --git a/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_agents_via_ci_access_monthly.yml b/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_agents_via_ci_access_monthly.yml new file mode 100644 index 00000000000..7520def5bda --- /dev/null +++ b/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_agents_via_ci_access_monthly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.k8s_api_proxy_requests_unique_agents_via_ci_access_monthly +description: MAU of the unique Agents using the CI/CD Tunnel via Ci Access +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: 28d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - k8s_api_proxy_requests_unique_agents_via_ci_access +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_agents_via_user_access_monthly.yml b/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_agents_via_user_access_monthly.yml new file mode 100644 index 00000000000..53b6914b8e0 --- /dev/null +++ b/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_agents_via_user_access_monthly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.k8s_api_proxy_requests_unique_agents_via_user_access_monthly +description: MAU of the unique Agents using the CI/CD Tunnel via User Access +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: 28d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - k8s_api_proxy_requests_unique_agents_via_user_access +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_users_via_ci_access_monthly.yml b/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_users_via_ci_access_monthly.yml new file mode 100644 index 00000000000..10e0c13e8e3 --- /dev/null +++ b/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_users_via_ci_access_monthly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.k8s_api_proxy_requests_unique_users_via_ci_access_monthly +description: MAU of the unique Users using the CI/CD Tunnel via Ci Access +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: 28d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - k8s_api_proxy_requests_unique_users_via_ci_access +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_users_via_user_access_monthly.yml b/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_users_via_user_access_monthly.yml new file mode 100644 index 00000000000..0ffcd3e9c75 --- /dev/null +++ b/config/metrics/counts_28d/20230620070723_k8s_api_proxy_requests_unique_users_via_user_access_monthly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.k8s_api_proxy_requests_unique_users_via_user_access_monthly +description: MAU of the unique Users using the CI/CD Tunnel via User Access +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: 28d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - k8s_api_proxy_requests_unique_users_via_user_access +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_28d/20230630153556_flux_git_push_notified_unique_projects_monthly.yml b/config/metrics/counts_28d/20230630153556_flux_git_push_notified_unique_projects_monthly.yml new file mode 100644 index 00000000000..90cee0ab415 --- /dev/null +++ b/config/metrics/counts_28d/20230630153556_flux_git_push_notified_unique_projects_monthly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.flux_git_push_notified_unique_projects_monthly +description: MAU of the unique projects which were notified by agentk about new Git push events in order to reconcile their Flux workloads +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/125146 +time_frame: 28d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - flux_git_push_notified_unique_projects +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_7d/20210216175130_i_code_review_user_create_mr_weekly.yml b/config/metrics/counts_7d/20210216175130_i_code_review_user_create_mr_weekly.yml index ab96036053d..71a0be2fe13 100644 --- a/config/metrics/counts_7d/20210216175130_i_code_review_user_create_mr_weekly.yml +++ b/config/metrics/counts_7d/20210216175130_i_code_review_user_create_mr_weekly.yml @@ -8,11 +8,14 @@ product_group: code_review value_type: number status: active time_frame: 7d -data_source: redis_hll +data_source: internal_events instrumentation_class: RedisHLLMetric options: events: - i_code_review_user_create_mr +events: + - name: i_code_review_user_create_mr + unique: user.id distribution: - ce - ee diff --git a/config/metrics/counts_7d/20210216181321_g_project_management_issue_created_weekly.yml b/config/metrics/counts_7d/20210216181321_g_project_management_issue_created_weekly.yml index e12d8240d5f..97c32f8f7ae 100644 --- a/config/metrics/counts_7d/20210216181321_g_project_management_issue_created_weekly.yml +++ b/config/metrics/counts_7d/20210216181321_g_project_management_issue_created_weekly.yml @@ -8,11 +8,14 @@ product_group: project_management value_type: number status: active time_frame: 7d -data_source: redis_hll +data_source: internal_events instrumentation_class: RedisHLLMetric options: events: - g_project_management_issue_created +events: + - name: g_project_management_issue_created + unique: user.id distribution: - ce - ee diff --git a/config/metrics/counts_7d/20211118200524_p_ci_templates_security_dast_on_demand_api_scan_weekly.yml b/config/metrics/counts_7d/20211118200524_p_ci_templates_security_dast_on_demand_api_scan_weekly.yml new file mode 100644 index 00000000000..8509bf20835 --- /dev/null +++ b/config/metrics/counts_7d/20211118200524_p_ci_templates_security_dast_on_demand_api_scan_weekly.yml @@ -0,0 +1,26 @@ +--- +key_path: redis_hll_counters.ci_templates.p_ci_templates_security_dast_on_demand_api_scan_weekly +name: "dast_on_demand_api_scan" +description: Count of pipelines using the latest DAST API template +product_section: sec +product_stage: secure +product_group: "dynamic_analysis" +value_type: number +status: active +milestone: "14.7" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/73564 +time_frame: 7d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - p_ci_templates_security_dast_on_demand_api_scan +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_7d/20230620070722_k8s_api_proxy_requests_unique_agents_via_ci_access_weekly.yml b/config/metrics/counts_7d/20230620070722_k8s_api_proxy_requests_unique_agents_via_ci_access_weekly.yml new file mode 100644 index 00000000000..41f97e698a2 --- /dev/null +++ b/config/metrics/counts_7d/20230620070722_k8s_api_proxy_requests_unique_agents_via_ci_access_weekly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.k8s_api_proxy_requests_unique_agents_via_ci_access_weekly +description: WAU of the unique Agents using the CI/CD Tunnel via Ci Access +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: 7d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - k8s_api_proxy_requests_unique_agents_via_ci_access +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_7d/20230620070722_k8s_api_proxy_requests_unique_users_via_ci_access_weekly.yml b/config/metrics/counts_7d/20230620070722_k8s_api_proxy_requests_unique_users_via_ci_access_weekly.yml new file mode 100644 index 00000000000..22580c0cf4a --- /dev/null +++ b/config/metrics/counts_7d/20230620070722_k8s_api_proxy_requests_unique_users_via_ci_access_weekly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.k8s_api_proxy_requests_unique_users_via_ci_access_weekly +description: WAU of the unique Users using the CI/CD Tunnel via Ci Access +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: 7d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - k8s_api_proxy_requests_unique_users_via_ci_access +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_7d/20230620070723_k8s_api_proxy_requests_unique_agents_via_user_access_weekly.yml b/config/metrics/counts_7d/20230620070723_k8s_api_proxy_requests_unique_agents_via_user_access_weekly.yml new file mode 100644 index 00000000000..5bd58ecd99d --- /dev/null +++ b/config/metrics/counts_7d/20230620070723_k8s_api_proxy_requests_unique_agents_via_user_access_weekly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.k8s_api_proxy_requests_unique_agents_via_user_access_weekly +description: WAU of the unique Agents using the CI/CD Tunnel via User Access +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: 7d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - k8s_api_proxy_requests_unique_agents_via_user_access +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_7d/20230620070723_k8s_api_proxy_requests_unique_users_via_user_access_weekly.yml b/config/metrics/counts_7d/20230620070723_k8s_api_proxy_requests_unique_users_via_user_access_weekly.yml new file mode 100644 index 00000000000..35d1fe7346b --- /dev/null +++ b/config/metrics/counts_7d/20230620070723_k8s_api_proxy_requests_unique_users_via_user_access_weekly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.k8s_api_proxy_requests_unique_users_via_user_access_weekly +description: WAU of the unique Users using the CI/CD Tunnel via User Access +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: 7d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - k8s_api_proxy_requests_unique_users_via_user_access +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_7d/20230630153554_flux_git_push_notified_unique_projects_weekly.yml b/config/metrics/counts_7d/20230630153554_flux_git_push_notified_unique_projects_weekly.yml new file mode 100644 index 00000000000..3618404d21b --- /dev/null +++ b/config/metrics/counts_7d/20230630153554_flux_git_push_notified_unique_projects_weekly.yml @@ -0,0 +1,25 @@ +--- +key_path: redis_hll_counters.kubernetes_agent.flux_git_push_notified_unique_projects_weekly +description: WAU of the unique projects which were notified by agentk about new Git push events in order to reconcile their Flux workloads +product_section: ops +product_stage: deploy +product_group: environment +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/125146 +time_frame: 7d +data_source: redis_hll +data_category: optional +instrumentation_class: RedisHLLMetric +options: + events: + - flux_git_push_notified_unique_projects +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_all/20210216175400_projects_slack_notifications_active.yml b/config/metrics/counts_all/20210216175400_projects_slack_notifications_active.yml new file mode 100644 index 00000000000..603fcb34053 --- /dev/null +++ b/config/metrics/counts_all/20210216175400_projects_slack_notifications_active.yml @@ -0,0 +1,20 @@ +--- +data_category: optional +key_path: usage_activity_by_stage.configure.projects_slack_notifications_active +description: Unique projects with Slack webhook enabled +product_section: dev +product_stage: manage +product_group: integrations +value_type: number +status: active +time_frame: all +data_source: database +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +performance_indicator_type: [] +milestone: "<13.9" diff --git a/config/metrics/counts_all/20210216175402_projects_slack_slash_active.yml b/config/metrics/counts_all/20210216175402_projects_slack_slash_active.yml new file mode 100644 index 00000000000..4bbeabd7c87 --- /dev/null +++ b/config/metrics/counts_all/20210216175402_projects_slack_slash_active.yml @@ -0,0 +1,20 @@ +--- +data_category: optional +key_path: usage_activity_by_stage.configure.projects_slack_slash_active +description: Unique projects with Slack ‘/’ commands enabled +product_section: dev +product_stage: manage +product_group: integrations +value_type: number +status: active +time_frame: all +data_source: database +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +performance_indicator_type: [] +milestone: "<13.9" diff --git a/config/metrics/counts_all/20210216180232_projects_jira_dvcs_cloud_active.yml b/config/metrics/counts_all/20210216180232_projects_jira_dvcs_cloud_active.yml index 29edaa6ab3b..5bf8e1d6e78 100644 --- a/config/metrics/counts_all/20210216180232_projects_jira_dvcs_cloud_active.yml +++ b/config/metrics/counts_all/20210216180232_projects_jira_dvcs_cloud_active.yml @@ -9,6 +9,9 @@ value_type: number status: active time_frame: all data_source: database +instrumentation_class: CountProjectsWithJiraDvcsIntegrationMetric +options: + cloud: true distribution: - ce - ee diff --git a/config/metrics/counts_all/20210216180234_projects_jira_dvcs_server_active.yml b/config/metrics/counts_all/20210216180234_projects_jira_dvcs_server_active.yml index 9673956c7e1..bfb402c257e 100644 --- a/config/metrics/counts_all/20210216180234_projects_jira_dvcs_server_active.yml +++ b/config/metrics/counts_all/20210216180234_projects_jira_dvcs_server_active.yml @@ -9,6 +9,9 @@ value_type: number status: active time_frame: all data_source: database +instrumentation_class: CountProjectsWithJiraDvcsIntegrationMetric +options: + cloud: false distribution: - ce - ee diff --git a/config/metrics/counts_all/20210216181122_service_desk_enabled_projects.yml b/config/metrics/counts_all/20210216181122_service_desk_enabled_projects.yml index 30318cd2d3c..83f259a6473 100644 --- a/config/metrics/counts_all/20210216181122_service_desk_enabled_projects.yml +++ b/config/metrics/counts_all/20210216181122_service_desk_enabled_projects.yml @@ -1,7 +1,7 @@ --- data_category: optional key_path: usage_activity_by_stage.plan.service_desk_enabled_projects -description: Count creator ids from projects with service desk enabled +description: Count unique users who created projects (creator_id) with service desk enabled product_section: ops product_stage: monitor product_group: respond diff --git a/config/metrics/counts_all/20220607141129_slack_app_installations_gbp.yml b/config/metrics/counts_all/20220607141129_slack_app_installations_gbp.yml new file mode 100644 index 00000000000..70ac24bbe36 --- /dev/null +++ b/config/metrics/counts_all/20220607141129_slack_app_installations_gbp.yml @@ -0,0 +1,21 @@ +--- +key_path: counts.slack_app_installations_gbp +description: Count of Slack app installations using the new GBP version +product_section: dev +product_stage: manage +product_group: integrations +value_type: number +status: active +milestone: "15.1" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/89130 +time_frame: all +data_source: database +data_category: optional +instrumentation_class: CountSlackAppInstallationsGbpMetric +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_all/20220607141417_slack_app_installations.yml b/config/metrics/counts_all/20220607141417_slack_app_installations.yml new file mode 100644 index 00000000000..232b3a9ae56 --- /dev/null +++ b/config/metrics/counts_all/20220607141417_slack_app_installations.yml @@ -0,0 +1,21 @@ +--- +key_path: counts.slack_app_installations +description: Count of Slack app installations +product_section: dev +product_stage: manage +product_group: integrations +value_type: number +status: active +milestone: "15.1" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/89130 +time_frame: all +data_source: database +data_category: optional +instrumentation_class: CountSlackAppInstallationsMetric +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_all/20230620073845_kubernetes_agent_k8s_api_proxy_requests_via_ci_access.yml b/config/metrics/counts_all/20230620073845_kubernetes_agent_k8s_api_proxy_requests_via_ci_access.yml new file mode 100644 index 00000000000..5724755ad55 --- /dev/null +++ b/config/metrics/counts_all/20230620073845_kubernetes_agent_k8s_api_proxy_requests_via_ci_access.yml @@ -0,0 +1,25 @@ +--- +key_path: counts.kubernetes_agent_k8s_api_proxy_requests_via_ci_access +description: Count of Kubernetes API proxy requests using the CI tunnel via Ci Access +product_section: ops +product_stage: deploy +product_group: environments +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: all +data_source: redis +data_category: optional +instrumentation_class: RedisMetric +performance_indicator_type: [] +options: + prefix: kubernetes_agent + event: k8s_api_proxy_requests_via_ci_access +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/counts_all/20230620074102_kubernetes_agent_k8s_api_proxy_requests_via_user_access.yml b/config/metrics/counts_all/20230620074102_kubernetes_agent_k8s_api_proxy_requests_via_user_access.yml new file mode 100644 index 00000000000..d480bbb922b --- /dev/null +++ b/config/metrics/counts_all/20230620074102_kubernetes_agent_k8s_api_proxy_requests_via_user_access.yml @@ -0,0 +1,25 @@ +--- +key_path: counts.kubernetes_agent_k8s_api_proxy_requests_via_user_access +description: Count of Kubernetes API proxy requests using the CI tunnel via User Access +product_section: ops +product_stage: deploy +product_group: environments +value_type: number +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124147 +time_frame: all +data_source: redis +data_category: optional +instrumentation_class: RedisMetric +performance_indicator_type: [] +options: + prefix: kubernetes_agent + event: k8s_api_proxy_requests_via_user_access +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate diff --git a/config/metrics/objects_schemas/batched_background_migrations_metric.json b/config/metrics/objects_schemas/batched_background_migrations_metric.json new file mode 100644 index 00000000000..968e804f600 --- /dev/null +++ b/config/metrics/objects_schemas/batched_background_migrations_metric.json @@ -0,0 +1,18 @@ +{ + "type": "array", + "items": { + "type": [ + { + "type": "object", + "properties": { + "job_class_name": { + "type": "string" + }, + "elapsed_time": { + "type": "integer" + } + } + } + ] + } +} diff --git a/config/metrics/objects_schemas/schema_inconsistencies_metric.json b/config/metrics/objects_schemas/schema_inconsistencies_metric.json new file mode 100644 index 00000000000..533d753bec1 --- /dev/null +++ b/config/metrics/objects_schemas/schema_inconsistencies_metric.json @@ -0,0 +1,22 @@ +{ + "type": "array", + "items": { + "type": [ + { + "type": "object", + "properties": { + "object_name": { + "type": "string" + }, + "type": { + "type": "string", + "description": "Type of inconsistency" + }, + "object_type": { + "type": "string" + } + } + } + ] + } +} diff --git a/config/metrics/schema.json b/config/metrics/schema.json index d3afc779e14..90951f1b3dc 100644 --- a/config/metrics/schema.json +++ b/config/metrics/schema.json @@ -95,6 +95,29 @@ "options": { "type": "object" }, + "events": { + "type": "array", + "items": { + "type": "object", + "required": [ + "name", + "unique" + ], + "properties": { + "name": { + "type": "string" + }, + "unique": { + "type": "string", + "enum": [ + "user.id", + "project.id", + "namespace.id" + ] + } + } + } + }, "time_frame": { "type": "string", "enum": [ @@ -112,7 +135,8 @@ "redis_hll", "prometheus", "system", - "license" + "license", + "internal_events" ] }, "data_category": { diff --git a/config/metrics/settings/20210216175606_ldap_encrypted_secrets_enabled.yml b/config/metrics/settings/20210216175606_ldap_encrypted_secrets_enabled.yml index b5880566d5e..1840bba6a64 100644 --- a/config/metrics/settings/20210216175606_ldap_encrypted_secrets_enabled.yml +++ b/config/metrics/settings/20210216175606_ldap_encrypted_secrets_enabled.yml @@ -9,6 +9,7 @@ value_type: boolean status: active time_frame: none data_source: system +instrumentation_class: LdapEncryptedSecretsMetric distribution: - ce - ee diff --git a/config/metrics/settings/20210225045628_operating_system.yml b/config/metrics/settings/20210225045628_operating_system.yml index e1249aee2a7..b6d2d761c8d 100644 --- a/config/metrics/settings/20210225045628_operating_system.yml +++ b/config/metrics/settings/20210225045628_operating_system.yml @@ -11,6 +11,7 @@ milestone: "13.10" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54778 time_frame: none data_source: system +instrumentation_class: OperatingSystemMetric distribution: - ce - ee diff --git a/config/metrics/settings/20210321224827_gitaly_apdex.yml b/config/metrics/settings/20210321224827_gitaly_apdex.yml index 3dcb8340628..b7c5ebec4a9 100644 --- a/config/metrics/settings/20210321224827_gitaly_apdex.yml +++ b/config/metrics/settings/20210321224827_gitaly_apdex.yml @@ -11,6 +11,7 @@ milestone: "13.11" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47040 time_frame: none data_source: prometheus +instrumentation_class: GitalyApdexMetric distribution: - ce - ee diff --git a/config/metrics/settings/20210812202137_smtp_encrypted_secrets_enabled.yml b/config/metrics/settings/20210812202137_smtp_encrypted_secrets_enabled.yml index 934daf472fa..e12bdb34aee 100644 --- a/config/metrics/settings/20210812202137_smtp_encrypted_secrets_enabled.yml +++ b/config/metrics/settings/20210812202137_smtp_encrypted_secrets_enabled.yml @@ -11,6 +11,7 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67802 time_frame: none data_source: system data_category: Optional +instrumentation_class: SmtpEncryptedSecretsMetric distribution: - ce - ee diff --git a/config/metrics/settings/20230602180038_batched_background_migrations_metric.yml b/config/metrics/settings/20230602180038_batched_background_migrations_metric.yml new file mode 100644 index 00000000000..aa96cb8da50 --- /dev/null +++ b/config/metrics/settings/20230602180038_batched_background_migrations_metric.yml @@ -0,0 +1,24 @@ +--- +key_path: batched_background_migrations_metric +name: "batched_background_migrations" +description: "Tracks the execution time of batched background migrations" +product_section: enablement +product_stage: data_stores +product_group: database +value_type: object +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/122510 +time_frame: 7d +data_source: database +data_category: optional +instrumentation_class: BatchedBackgroundMigrationsMetric +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +value_json_schema: "config/metrics/objects_schemas/batched_background_migrations_metric.json" diff --git a/config/metrics/settings/20230612132238_schema_inconsistencies_metric.yml b/config/metrics/settings/20230612132238_schema_inconsistencies_metric.yml new file mode 100644 index 00000000000..1a154b4a2b0 --- /dev/null +++ b/config/metrics/settings/20230612132238_schema_inconsistencies_metric.yml @@ -0,0 +1,24 @@ +--- +key_path: schema_inconsistencies_metric +name: "schema_inconsistencies" +description: "List the schema inconsistencies in the database" +product_section: enablement +product_stage: enablement +product_group: database +value_type: boolean +status: active +milestone: "16.2" +introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/123383 +time_frame: none +data_source: system +data_category: optional +instrumentation_class: SchemaInconsistenciesMetric +performance_indicator_type: [] +distribution: +- ce +- ee +tier: +- free +- premium +- ultimate +value_json_schema: "config/metrics/objects_schemas/schema_inconsistencies_metric.json" |