From b08d452d4e2df2a6c93fea716487427ebd5db459 Mon Sep 17 00:00:00 2001
From: Miles Russell <mdrussell@gitlab.com>
Date: Fri, 17 Nov 2023 15:49:54 +0000
Subject: [PATCH] Adding health score indicator to yml files

---
 config/metrics/counts_28d/20210216175055_merge_requests.yml    | 3 ++-
 config/metrics/counts_28d/20210216175542_ci_builds.yml         | 3 ++-
 .../metrics/counts_28d/20210216181148_service_desk_issues.yml  | 3 ++-
 config/metrics/counts_28d/20210216183730_jira.yml              | 3 ++-
 .../20211126091206_p_analytics_ci_cd_lead_time_monthly.yml     | 3 ++-
 .../metrics/counts_all/20210216175229_auto_devops_enabled.yml  | 3 ++-
 .../counts_all/20210216175514_ci_external_pipelines.yml        | 3 ++-
 .../20210216180232_projects_jira_dvcs_cloud_active.yml         | 3 ++-
 .../counts_all/20210216181011_projects_with_packages.yml       | 3 ++-
 config/metrics/counts_all/20210216181102_issues.yml            | 3 ++-
 config/metrics/counts_all/20210216181254_projects.yml          | 3 ++-
 config/metrics/counts_all/20210216182002_remote_mirrors.yml    | 3 ++-
 .../counts_28d/20210216175505_user_container_scanning_jobs.yml | 1 +
 ee/config/metrics/counts_28d/20210216175616_user_dast_jobs.yml | 1 +
 ee/config/metrics/counts_28d/20210216182129_sast_pipeline.yml  | 3 ++-
 .../counts_28d/20210216183817_user_coverage_fuzzing_jobs.yml   | 3 ++-
 .../counts_7d/20210216183906_g_compliance_audit_events.yml     | 3 ++-
 ee/config/metrics/counts_all/20210216175612_dast_jobs.yml      | 3 ++-
 .../metrics/counts_all/20210216182001_protected_branches.yml   | 3 ++-
 ee/config/metrics/counts_all/20210216182112_sast_jobs.yml      | 3 ++-
 20 files changed, 38 insertions(+), 18 deletions(-)

diff --git a/config/metrics/counts_28d/20210216175055_merge_requests.yml b/config/metrics/counts_28d/20210216175055_merge_requests.yml
index 9e3f64553f69..d46caf936759 100644
--- a/config/metrics/counts_28d/20210216175055_merge_requests.yml
+++ b/config/metrics/counts_28d/20210216175055_merge_requests.yml
@@ -17,6 +17,7 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
 removed_by_url:
diff --git a/config/metrics/counts_28d/20210216175542_ci_builds.yml b/config/metrics/counts_28d/20210216175542_ci_builds.yml
index 3d2777aebea2..c95a1e9fad57 100644
--- a/config/metrics/counts_28d/20210216175542_ci_builds.yml
+++ b/config/metrics/counts_28d/20210216175542_ci_builds.yml
@@ -16,6 +16,7 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "12.9"
 introduced_by_url: "https://gitlab.com/gitlab-org/gitlab/-/merge_requests/26441"
diff --git a/config/metrics/counts_28d/20210216181148_service_desk_issues.yml b/config/metrics/counts_28d/20210216181148_service_desk_issues.yml
index 302dc04e16a5..9a606ec802dc 100644
--- a/config/metrics/counts_28d/20210216181148_service_desk_issues.yml
+++ b/config/metrics/counts_28d/20210216181148_service_desk_issues.yml
@@ -16,5 +16,6 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/config/metrics/counts_28d/20210216183730_jira.yml b/config/metrics/counts_28d/20210216183730_jira.yml
index 37c9b9a7b665..590ca4e5f37d 100644
--- a/config/metrics/counts_28d/20210216183730_jira.yml
+++ b/config/metrics/counts_28d/20210216183730_jira.yml
@@ -16,7 +16,8 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
 removed_by_url:
 milestone_removed: "<16.4"
diff --git a/config/metrics/counts_28d/20211126091206_p_analytics_ci_cd_lead_time_monthly.yml b/config/metrics/counts_28d/20211126091206_p_analytics_ci_cd_lead_time_monthly.yml
index 63d1ed5d0c65..f5a4882aca59 100644
--- a/config/metrics/counts_28d/20211126091206_p_analytics_ci_cd_lead_time_monthly.yml
+++ b/config/metrics/counts_28d/20211126091206_p_analytics_ci_cd_lead_time_monthly.yml
@@ -12,7 +12,8 @@ time_frame: 28d
 data_source: redis_hll
 data_category: operational
 instrumentation_class: RedisHLLMetric
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 events:
   - name: p_analytics_ci_cd_lead_time
     unique: user.id
diff --git a/config/metrics/counts_all/20210216175229_auto_devops_enabled.yml b/config/metrics/counts_all/20210216175229_auto_devops_enabled.yml
index 9b192fa26a0b..fe90390283fe 100644
--- a/config/metrics/counts_all/20210216175229_auto_devops_enabled.yml
+++ b/config/metrics/counts_all/20210216175229_auto_devops_enabled.yml
@@ -17,5 +17,6 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/config/metrics/counts_all/20210216175514_ci_external_pipelines.yml b/config/metrics/counts_all/20210216175514_ci_external_pipelines.yml
index b2c70204679e..6b830d88d52b 100644
--- a/config/metrics/counts_all/20210216175514_ci_external_pipelines.yml
+++ b/config/metrics/counts_all/20210216175514_ci_external_pipelines.yml
@@ -13,5 +13,6 @@ distribution:
 - ce
 tier:
 - free
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 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 c9c85bca4151..907eed3b8229 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
@@ -19,7 +19,8 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
 removed_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/135755
 milestone_removed: "<16.6"
diff --git a/config/metrics/counts_all/20210216181011_projects_with_packages.yml b/config/metrics/counts_all/20210216181011_projects_with_packages.yml
index 434d9989ed4f..da869a35fa81 100644
--- a/config/metrics/counts_all/20210216181011_projects_with_packages.yml
+++ b/config/metrics/counts_all/20210216181011_projects_with_packages.yml
@@ -16,5 +16,6 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/config/metrics/counts_all/20210216181102_issues.yml b/config/metrics/counts_all/20210216181102_issues.yml
index ec679b1089f2..f10bbe69e95a 100644
--- a/config/metrics/counts_all/20210216181102_issues.yml
+++ b/config/metrics/counts_all/20210216181102_issues.yml
@@ -17,5 +17,6 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/config/metrics/counts_all/20210216181254_projects.yml b/config/metrics/counts_all/20210216181254_projects.yml
index 0bd0e783c0a1..265f8f394a13 100644
--- a/config/metrics/counts_all/20210216181254_projects.yml
+++ b/config/metrics/counts_all/20210216181254_projects.yml
@@ -16,5 +16,6 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/config/metrics/counts_all/20210216182002_remote_mirrors.yml b/config/metrics/counts_all/20210216182002_remote_mirrors.yml
index 0c8103284a3e..7f06be1decb7 100644
--- a/config/metrics/counts_all/20210216182002_remote_mirrors.yml
+++ b/config/metrics/counts_all/20210216182002_remote_mirrors.yml
@@ -16,5 +16,6 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/ee/config/metrics/counts_28d/20210216175505_user_container_scanning_jobs.yml b/ee/config/metrics/counts_28d/20210216175505_user_container_scanning_jobs.yml
index 9386e5722716..5c485b07a7e6 100644
--- a/ee/config/metrics/counts_28d/20210216175505_user_container_scanning_jobs.yml
+++ b/ee/config/metrics/counts_28d/20210216175505_user_container_scanning_jobs.yml
@@ -21,4 +21,5 @@ tier:
 performance_indicator_type:
 - gmau
 - paid_gmau
+- customer_health_score
 milestone: "<13.9"
diff --git a/ee/config/metrics/counts_28d/20210216175616_user_dast_jobs.yml b/ee/config/metrics/counts_28d/20210216175616_user_dast_jobs.yml
index 958c7cc1436d..3a3f8ac6d0ff 100644
--- a/ee/config/metrics/counts_28d/20210216175616_user_dast_jobs.yml
+++ b/ee/config/metrics/counts_28d/20210216175616_user_dast_jobs.yml
@@ -19,4 +19,5 @@ tier:
 performance_indicator_type:
 - gmau
 - paid_gmau
+- customer_health_score
 milestone: "<13.9"
diff --git a/ee/config/metrics/counts_28d/20210216182129_sast_pipeline.yml b/ee/config/metrics/counts_28d/20210216182129_sast_pipeline.yml
index 4fe39544d40a..673d100590e2 100644
--- a/ee/config/metrics/counts_28d/20210216182129_sast_pipeline.yml
+++ b/ee/config/metrics/counts_28d/20210216182129_sast_pipeline.yml
@@ -18,5 +18,6 @@ tier:
 - free
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/ee/config/metrics/counts_28d/20210216183817_user_coverage_fuzzing_jobs.yml b/ee/config/metrics/counts_28d/20210216183817_user_coverage_fuzzing_jobs.yml
index 90f54d3703da..d2c91372cd3f 100644
--- a/ee/config/metrics/counts_28d/20210216183817_user_coverage_fuzzing_jobs.yml
+++ b/ee/config/metrics/counts_28d/20210216183817_user_coverage_fuzzing_jobs.yml
@@ -16,5 +16,6 @@ distribution:
 - ee
 tier:
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/ee/config/metrics/counts_7d/20210216183906_g_compliance_audit_events.yml b/ee/config/metrics/counts_7d/20210216183906_g_compliance_audit_events.yml
index fe16dd381774..9109f840f647 100644
--- a/ee/config/metrics/counts_7d/20210216183906_g_compliance_audit_events.yml
+++ b/ee/config/metrics/counts_7d/20210216183906_g_compliance_audit_events.yml
@@ -18,5 +18,6 @@ distribution:
 tier:
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type: 
+- customer_health_score
 milestone: "<13.9"
diff --git a/ee/config/metrics/counts_all/20210216175612_dast_jobs.yml b/ee/config/metrics/counts_all/20210216175612_dast_jobs.yml
index b3506cc45878..7f5fc8da6cb3 100644
--- a/ee/config/metrics/counts_all/20210216175612_dast_jobs.yml
+++ b/ee/config/metrics/counts_all/20210216175612_dast_jobs.yml
@@ -16,5 +16,6 @@ distribution:
 - ee
 tier:
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/ee/config/metrics/counts_all/20210216182001_protected_branches.yml b/ee/config/metrics/counts_all/20210216182001_protected_branches.yml
index 5da3fc5d7eb5..5139a2324283 100644
--- a/ee/config/metrics/counts_all/20210216182001_protected_branches.yml
+++ b/ee/config/metrics/counts_all/20210216182001_protected_branches.yml
@@ -14,5 +14,6 @@ distribution:
 tier:
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
diff --git a/ee/config/metrics/counts_all/20210216182112_sast_jobs.yml b/ee/config/metrics/counts_all/20210216182112_sast_jobs.yml
index d4a2739974f9..3cf0f521f549 100644
--- a/ee/config/metrics/counts_all/20210216182112_sast_jobs.yml
+++ b/ee/config/metrics/counts_all/20210216182112_sast_jobs.yml
@@ -17,5 +17,6 @@ distribution:
 tier:
 - premium
 - ultimate
-performance_indicator_type: []
+performance_indicator_type:
+- customer_health_score
 milestone: "<13.9"
-- 
GitLab