Commit 06fcfe71 authored by Alper Akgun's avatar Alper Akgun

Merge branch '333117-migrate-events-redishll' into 'master'

Resolve "Migrate RedisHLL metrics to instrumentation classes"

See merge request gitlab-org/gitlab!67820
parents 1e214a79 45c611bd
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_pipelines
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_valuestream
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_analytics_cohorts
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_analytics_dev_ops_score
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: removed
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_merge_request
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_analytics_instance_statistics
distribution:
- ce
tier:
......
......@@ -10,6 +10,26 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- users_viewing_analytics_group_devops_adoption
- i_analytics_dev_ops_adoption
- i_analytics_dev_ops_score
- p_analytics_merge_request
- i_analytics_instance_statistics
- g_analytics_contribution
- g_analytics_insights
- g_analytics_issues
- g_analytics_productivity
- g_analytics_valuestream
- p_analytics_pipelines
- p_analytics_code_reviews
- p_analytics_valuestream
- p_analytics_insights
- p_analytics_issues
- p_analytics_repo
- i_analytics_cohorts
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_snippets_show
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_auto_devops
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_auto_devops_build
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_auto_devops_deploy
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_security_sast
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_security_secret_detection
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_5_min_production_app
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_aws_cf_deploy_ec2
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_aws_deploy_ecs
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops_build
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops_deploy
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops_deploy_latest
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_security_sast
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_security_secret_detection
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_terraform_base_latest
distribution:
- ce
- ee
......
......@@ -11,6 +11,24 @@ status: broken
repair_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/332466
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_auto_devops
- p_ci_templates_implicit_auto_devops_build
- p_ci_templates_implicit_auto_devops_deploy
- p_ci_templates_implicit_security_sast
- p_ci_templates_implicit_security_secret_detection
- p_ci_templates_5_min_production_app
- p_ci_templates_auto_devops
- p_ci_templates_aws_cf_deploy_ec2
- p_ci_templates_aws_deploy_ecs
- p_ci_templates_auto_devops_build
- p_ci_templates_auto_devops_deploy
- p_ci_templates_auto_devops_deploy_latest
- p_ci_templates_security_sast
- p_ci_templates_security_secret_detection
- p_ci_templates_terraform_base_latest
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_composer_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_conan_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_container_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_debian_deploy_token
distribution:
- ee
- ce
......
......@@ -11,6 +11,10 @@ status: broken
repair_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/331455
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_generic_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_golang_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_maven_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_npm_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_nuget_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_pypi_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_tag_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,23 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_composer_deploy_token
- i_package_conan_deploy_token
- i_package_container_deploy_token
- i_package_debian_deploy_token
- i_package_generic_deploy_token
- i_package_golang_deploy_token
- i_package_helm_deploy_token
- i_package_maven_deploy_token
- i_package_npm_deploy_token
- i_package_nuget_deploy_token
- i_package_pypi_deploy_token
- i_package_rubygems_deploy_token
- i_package_tag_deploy_token
- i_package_terraform_module_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_composer_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_conan_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_container_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_debian_user
distribution:
- ee
- ce
......
......@@ -11,6 +11,10 @@ status: broken
repair_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/331455
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_generic_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_golang_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_maven_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_npm_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_nuget_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_pypi_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_tag_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,23 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_composer_user
- i_package_conan_user
- i_package_container_user
- i_package_debian_user
- i_package_generic_user
- i_package_golang_user
- i_package_helm_user
- i_package_maven_user
- i_package_npm_user
- i_package_nuget_user
- i_package_pypi_user
- i_package_rubygems_user
- i_package_tag_user
- i_package_terraform_module_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_close_issue
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_cross_reference
distribution:
- ce
- ee
......
......@@ -10,6 +10,22 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_close_issue
- i_ecosystem_jira_service_cross_reference
- i_ecosystem_jira_service_list_issues
- i_ecosystem_jira_service_create_issue
- i_ecosystem_slack_service_issue_notification
- i_ecosystem_slack_service_push_notification
- i_ecosystem_slack_service_deployment_notification
- i_ecosystem_slack_service_wiki_page_notification
- i_ecosystem_slack_service_merge_request_notification
- i_ecosystem_slack_service_note_notification
- i_ecosystem_slack_service_tag_push_notification
- i_ecosystem_slack_service_confidential_note_notification
- i_ecosystem_slack_service_confidential_issue_notification
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_issue_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_push_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_deployment_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_wiki_page_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_merge_request_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_note_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_tag_push_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_confidential_note_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_confidential_issue_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: '13.10'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53480
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_rubygems_deploy_token
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: '13.10'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53480
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_rubygems_user
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55018
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_terraform_module_deploy_token
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55018
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_terraform_module_user
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "14.0"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61014
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_helm_deploy_token
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "14.0"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61014
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_helm_user
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_analytics_instance_statistics
distribution:
- ee
tier: []
......
......@@ -10,6 +10,26 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- users_viewing_analytics_group_devops_adoption
- i_analytics_dev_ops_adoption
- i_analytics_dev_ops_score
- p_analytics_merge_request
- i_analytics_instance_statistics
- g_analytics_contribution
- g_analytics_insights
- g_analytics_issues
- g_analytics_productivity
- g_analytics_valuestream
- p_analytics_pipelines
- p_analytics_code_reviews
- p_analytics_valuestream
- p_analytics_insights
- p_analytics_issues
- p_analytics_repo
- i_analytics_cohorts
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_snippets_show
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_5_min_production_app
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_aws_cf_deploy_ec2
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_aws_deploy_ecs
distribution:
- ce
- ee
......
......@@ -11,6 +11,24 @@ status: broken
repair_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/332466
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_auto_devops
- p_ci_templates_implicit_auto_devops_build
- p_ci_templates_implicit_auto_devops_deploy
- p_ci_templates_implicit_security_sast
- p_ci_templates_implicit_security_secret_detection
- p_ci_templates_5_min_production_app
- p_ci_templates_auto_devops
- p_ci_templates_aws_cf_deploy_ec2
- p_ci_templates_aws_deploy_ecs
- p_ci_templates_auto_devops_build
- p_ci_templates_auto_devops_deploy
- p_ci_templates_auto_devops_deploy_latest
- p_ci_templates_security_sast
- p_ci_templates_security_secret_detection
- p_ci_templates_terraform_base_latest
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_composer_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_conan_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_container_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_debian_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_generic_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_golang_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_maven_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_npm_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_nuget_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_pypi_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_tag_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,23 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_composer_deploy_token
- i_package_conan_deploy_token
- i_package_container_deploy_token
- i_package_debian_deploy_token
- i_package_generic_deploy_token
- i_package_golang_deploy_token
- i_package_helm_deploy_token
- i_package_maven_deploy_token
- i_package_npm_deploy_token
- i_package_nuget_deploy_token
- i_package_pypi_deploy_token
- i_package_rubygems_deploy_token
- i_package_tag_deploy_token
- i_package_terraform_module_deploy_token
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_composer_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_conan_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_container_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_debian_user
distribution:
- ee
- ce
......
......@@ -11,6 +11,10 @@ status: broken
repair_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/331455
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_generic_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_golang_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_maven_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_npm_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_nuget_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_pypi_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: deprecated
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_tag_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,23 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_composer_user
- i_package_conan_user
- i_package_container_user
- i_package_debian_user
- i_package_generic_user
- i_package_golang_user
- i_package_helm_user
- i_package_maven_user
- i_package_npm_user
- i_package_nuget_user
- i_package_pypi_user
- i_package_rubygems_user
- i_package_tag_user
- i_package_terraform_module_user
distribution:
- ee
- ce
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_close_issue
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_cross_reference
distribution:
- ce
- ee
......
......@@ -10,6 +10,22 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_close_issue
- i_ecosystem_jira_service_cross_reference
- i_ecosystem_jira_service_list_issues
- i_ecosystem_jira_service_create_issue
- i_ecosystem_slack_service_issue_notification
- i_ecosystem_slack_service_push_notification
- i_ecosystem_slack_service_deployment_notification
- i_ecosystem_slack_service_wiki_page_notification
- i_ecosystem_slack_service_merge_request_notification
- i_ecosystem_slack_service_note_notification
- i_ecosystem_slack_service_tag_push_notification
- i_ecosystem_slack_service_confidential_note_notification
- i_ecosystem_slack_service_confidential_issue_notification
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_issue_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_push_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_deployment_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_wiki_page_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_merge_request_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_note_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_tag_push_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_confidential_note_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54347
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_slack_service_confidential_issue_notification
distribution:
- ee
- ce
......
......@@ -12,6 +12,10 @@ milestone: '13.10'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53480
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_rubygems_deploy_token
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: '13.10'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53480
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_rubygems_user
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55018
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_terraform_module_deploy_token
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55018
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_terraform_module_user
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "14.0"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61014
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_helm_deploy_token
distribution:
- ce
- ee
......
......@@ -12,6 +12,10 @@ milestone: "14.0"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61014
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_package_helm_user
distribution:
- ce
- ee
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_contribution
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_insights
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_issues
distribution:
- ce
tier:
......
......@@ -11,6 +11,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_productivity
distribution:
- ce
tier:
......
......@@ -11,6 +11,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_valuestream
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_code_reviews
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_insights
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_issues
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_repo
distribution:
- ce
tier:
......
......@@ -11,6 +11,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_merge_request
distribution:
- ce
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_list_issues
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_create_issue
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.10'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53651
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_created
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56246
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_closed
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56246
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_reopened
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56246
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_confidential
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56246
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_visible
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56489
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_epic_titles
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56489
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_epic_descriptions
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56559
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_issue_added
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56571
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_users_changing_labels
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.10'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56609
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_creating_epic_notes
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56610
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_epic_notes
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56617
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_destroying_epic_notes
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56619
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_start_date_as_inherited
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56619
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_start_date_as_fixed
distribution:
- ee
tier:
......
......@@ -12,6 +12,38 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56891
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_created
- project_management_users_unchecking_epic_task
- project_management_users_checking_epic_task
- g_project_management_users_updating_epic_titles
- g_project_management_users_updating_epic_descriptions
- g_project_management_users_creating_epic_notes
- g_project_management_users_updating_epic_notes
- g_project_management_users_destroying_epic_notes
- g_project_management_users_awarding_epic_emoji
- g_project_management_users_removing_epic_emoji
- g_project_management_users_setting_epic_start_date_as_fixed
- g_project_management_users_updating_fixed_epic_start_date
- g_project_management_users_setting_epic_start_date_as_inherited
- g_project_management_users_setting_epic_due_date_as_fixed
- g_project_management_users_updating_fixed_epic_due_date
- g_project_management_users_setting_epic_due_date_as_inherited
- g_project_management_epic_issue_added
- g_project_management_epic_issue_removed
- g_project_management_epic_issue_moved_from_project
- g_project_management_users_updating_epic_parent
- g_project_management_epic_closed
- g_project_management_epic_reopened
- 'g_project_management_issue_promoted_to_epic'
- g_project_management_users_setting_epic_confidential
- g_project_management_users_setting_epic_visible
- g_project_management_epic_users_changing_labels
- g_project_management_epic_destroyed
- g_project_management_epic_cross_referenced
- g_project_management_users_epic_issue_added_from_epic
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57457
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_due_date_as_inherited
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57457
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_due_date_as_fixed
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57672
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_fixed_epic_start_date
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57672
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_fixed_epic_due_date
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56706
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_promoted_to_epic
distribution:
- ee
tier:
......
......@@ -13,6 +13,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57104
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_analytics_dev_ops_adoption
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/58426
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_issue_removed
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/58590
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_issue_moved_from_project
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59185
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_destroyed
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59738
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- users_viewing_analytics_group_devops_adoption
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url:
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- project_management_users_checking_epic_task
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59871
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- project_management_users_unchecking_epic_task
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60079
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_epic_parent
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59804
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_cross_referenced
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60787
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_awarding_epic_emoji
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60989
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_removing_epic_emoji
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61822
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_epic_issue_added_from_epic
distribution:
- ee
tier:
......
......@@ -13,6 +13,10 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64731
time_frame: 28d
data_source: redis_hll
data_category: operational
instrumentation_class: RedisHLLMetric
options:
events:
- clusters_using_network_policies_ui
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_contribution
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_insights
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_issues
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_productivity
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_valuestream
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_pipelines
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_code_reviews
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_valuestream
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_insights
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_issues
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_repo
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_analytics_cohorts
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_analytics_dev_ops_score
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: removed
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_analytics_merge_request
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_analytics_merge_request
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_auto_devops
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_auto_devops_build
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_auto_devops_deploy
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_security_sast
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_implicit_security_secret_detection
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops
distribution:
- ee
tier: []
......
......@@ -10,6 +10,14 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops_build
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops
distribution:
- ee
tier: []
......
......@@ -10,6 +10,14 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops_deploy
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_auto_devops_deploy_latest
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_security_sast
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_security_secret_detection
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- p_ci_templates_terraform_base_latest
distribution:
- ee
tier: []
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_list_issues
distribution:
- ee
tier:
......
......@@ -10,6 +10,10 @@ value_type: number
status: data_available
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_ecosystem_jira_service_create_issue
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53651
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_created
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: "13.10"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56246
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_closed
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56246
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_reopened
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56246
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_confidential
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56246
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_visible
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56489
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_epic_descriptions
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56489
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_epic_titles
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56559
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_issue_added
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56571
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_users_changing_labels
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.10'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56609
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_creating_epic_notes
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56610
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_epic_notes
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56617
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_destroying_epic_notes
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56619
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_start_date_as_fixed
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56619
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_start_date_as_inherited
distribution:
- ee
tier:
......
......@@ -12,6 +12,38 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56891
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_created
- project_management_users_unchecking_epic_task
- project_management_users_checking_epic_task
- g_project_management_users_updating_epic_titles
- g_project_management_users_updating_epic_descriptions
- g_project_management_users_creating_epic_notes
- g_project_management_users_updating_epic_notes
- g_project_management_users_destroying_epic_notes
- g_project_management_users_awarding_epic_emoji
- g_project_management_users_removing_epic_emoji
- g_project_management_users_setting_epic_start_date_as_fixed
- g_project_management_users_updating_fixed_epic_start_date
- g_project_management_users_setting_epic_start_date_as_inherited
- g_project_management_users_setting_epic_due_date_as_fixed
- g_project_management_users_updating_fixed_epic_due_date
- g_project_management_users_setting_epic_due_date_as_inherited
- g_project_management_epic_issue_added
- g_project_management_epic_issue_removed
- g_project_management_epic_issue_moved_from_project
- g_project_management_users_updating_epic_parent
- g_project_management_epic_closed
- g_project_management_epic_reopened
- 'g_project_management_issue_promoted_to_epic'
- g_project_management_users_setting_epic_confidential
- g_project_management_users_setting_epic_visible
- g_project_management_epic_users_changing_labels
- g_project_management_epic_destroyed
- g_project_management_epic_cross_referenced
- g_project_management_users_epic_issue_added_from_epic
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57457
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_due_date_as_fixed
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57457
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_setting_epic_due_date_as_inherited
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57672
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_fixed_epic_due_date
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57672
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_fixed_epic_start_date
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/56706
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_issue_promoted_to_epic
distribution:
- ee
tier:
......
......@@ -14,6 +14,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/57104
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- i_analytics_dev_ops_adoption
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/58426
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_issue_removed
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/58590
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_issue_moved_from_project
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.11'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59185
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_destroyed
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: "13.12"
introduced_by_url: "https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59738"
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- users_viewing_analytics_group_devops_adoption
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59871
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- project_management_users_checking_epic_task
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59871
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- project_management_users_unchecking_epic_task
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60079
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_updating_epic_parent
distribution:
- ee
tier:
......
......@@ -15,6 +15,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/59804
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_epic_cross_referenced
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60787
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_awarding_epic_emoji
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: '13.12'
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/60989
time_frame: 28d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_removing_epic_emoji
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ milestone: "13.12"
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61822
time_frame: 7d
data_source: redis_hll
instrumentation_class: RedisHLLMetric
options:
events:
- g_project_management_users_epic_issue_added_from_epic
distribution:
- ee
tier:
......
......@@ -12,6 +12,10 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64731
time_frame: 7d
data_source: redis_hll
data_category: operational
instrumentation_class: RedisHLLMetric
options:
events:
- clusters_using_network_policies_ui
distribution:
- ee
tier:
......
......@@ -22,98 +22,37 @@ RSpec.describe Gitlab::UsageDataMetrics do
expect(subject).to include(:license_subscription_id)
end
it 'includes incident_management_incident_published monthly and weekly keys' do
expect(subject[:redis_hll_counters][:incident_management]).to include(
:incident_management_incident_published_monthly, :incident_management_incident_published_weekly
)
describe 'Redis_HLL_counters' do
let(:metric_files_key_paths) do
Gitlab::Usage::MetricDefinition
.definitions
.select { |k, v| v.attributes[:data_source] == 'redis_hll' && v.key_path.starts_with?('redis_hll_counters') }
.keys
.sort
end
it 'includes incident_management_oncall monthly and weekly keys' do
expect(subject[:redis_hll_counters][:incident_management_oncall].keys).to contain_exactly(*[
:i_incident_management_oncall_notification_sent_monthly, :i_incident_management_oncall_notification_sent_weekly
])
# Recursively traverse nested Hash of a generated Service Ping to return an Array of key paths
# in the dotted format used in metric definition YAML files, e.g.: 'count.category.metric_name'
def parse_service_ping_keys(object, key_path = [])
if object.is_a?(Hash)
object.each_with_object([]) do |(key, value), result|
result.append parse_service_ping_keys(value, key_path + [key])
end
it 'includes compliance monthly and weekly keys' do
expect(subject[:redis_hll_counters][:compliance].keys).to contain_exactly(*[
:g_compliance_dashboard_monthly, :g_compliance_dashboard_weekly,
:g_compliance_audit_events_monthly, :g_compliance_audit_events_weekly,
:i_compliance_audit_events_monthly, :i_compliance_audit_events_weekly,
:i_compliance_credential_inventory_monthly, :i_compliance_credential_inventory_weekly,
:a_compliance_audit_events_api_monthly, :a_compliance_audit_events_api_weekly,
:compliance_total_unique_counts_monthly, :compliance_total_unique_counts_weekly
])
else
key_path.join('.')
end
it 'includes search monthly and weekly keys' do
expect(subject[:redis_hll_counters][:search].keys).to contain_exactly(*[
:i_search_total_monthly, :i_search_total_weekly,
:i_search_advanced_monthly, :i_search_advanced_weekly,
:i_search_paid_monthly, :i_search_paid_weekly,
:search_total_unique_counts_monthly, :search_total_unique_counts_weekly
])
end
it 'includes i_ci_secrets_management_vault_build_created monthly and weekly keys' do
expect(subject[:redis_hll_counters][:ci_secrets_management].keys).to contain_exactly(*[
:i_ci_secrets_management_vault_build_created_monthly, :i_ci_secrets_management_vault_build_created_weekly
])
let(:service_ping_key_paths) do
parse_service_ping_keys(subject)
.flatten
.select { |k| k.starts_with?('redis_hll_counters') }
.sort
end
it 'includes epic_boards_usage monthly and weekly keys' do
expect(subject[:redis_hll_counters][:epic_boards_usage].keys).to contain_exactly(*[
:g_project_management_users_creating_epic_boards_monthly, :g_project_management_users_creating_epic_boards_weekly,
:g_project_management_users_viewing_epic_boards_monthly, :g_project_management_users_viewing_epic_boards_weekly,
:g_project_management_users_updating_epic_board_names_monthly, :g_project_management_users_updating_epic_board_names_weekly,
:epic_boards_usage_total_unique_counts_monthly, :epic_boards_usage_total_unique_counts_weekly
])
it 'is included in the Usage Ping hash structure' do
expect(metric_files_key_paths).to match_array(service_ping_key_paths)
end
it 'includes terraform weekly key' do
expect(subject[:redis_hll_counters][:terraform].keys).to include(:p_terraform_state_api_unique_users_weekly)
end
it 'includes issues_edit monthly and weekly keys' do
expect(subject[:redis_hll_counters][:issues_edit].keys).to include(
:g_project_management_issue_iteration_changed_monthly, :g_project_management_issue_iteration_changed_weekly,
:g_project_management_issue_weight_changed_monthly, :g_project_management_issue_weight_changed_weekly,
:g_project_management_issue_added_to_epic_monthly, :g_project_management_issue_added_to_epic_weekly,
:g_project_management_issue_removed_from_epic_monthly, :g_project_management_issue_removed_from_epic_weekly,
:g_project_management_issue_changed_epic_monthly, :g_project_management_issue_changed_epic_weekly,
:g_project_management_issue_health_status_changed_monthly, :g_project_management_issue_health_status_changed_weekly
)
end
it 'includes testing monthly and weekly keys' do
expect(subject[:redis_hll_counters][:testing]).to include(
:i_testing_metrics_report_widget_total_monthly, :i_testing_metrics_report_widget_total_weekly,
:i_testing_group_code_coverage_visit_total_monthly, :i_testing_group_code_coverage_visit_total_weekly,
:i_testing_full_code_quality_report_total_monthly, :i_testing_full_code_quality_report_total_weekly,
:i_testing_web_performance_widget_total_monthly, :i_testing_web_performance_widget_total_weekly,
:i_testing_group_code_coverage_project_click_total_monthly, :i_testing_group_code_coverage_project_click_total_weekly,
:i_testing_load_performance_widget_total_monthly, :i_testing_load_performance_widget_total_weekly,
:i_testing_metrics_report_artifact_uploaders_monthly, :i_testing_metrics_report_artifact_uploaders_weekly,
:testing_total_unique_counts_weekly
)
end
it 'includes quickactions monthly and weekly keys' do
expect(subject[:redis_hll_counters][:quickactions].keys).to include(
:i_quickactions_assign_multiple_monthly, :i_quickactions_assign_multiple_weekly,
:i_quickactions_child_epic_monthly, :i_quickactions_child_epic_weekly,
:i_quickactions_clear_weight_monthly, :i_quickactions_clear_weight_weekly,
:i_quickactions_epic_monthly, :i_quickactions_epic_weekly,
:i_quickactions_iteration_monthly, :i_quickactions_iteration_weekly,
:i_quickactions_parent_epic_monthly, :i_quickactions_parent_epic_weekly,
:i_quickactions_promote_monthly, :i_quickactions_promote_weekly,
:i_quickactions_publish_monthly, :i_quickactions_publish_weekly,
:i_quickactions_remove_child_epic_monthly, :i_quickactions_remove_child_epic_weekly,
:i_quickactions_remove_epic_monthly, :i_quickactions_remove_epic_weekly,
:i_quickactions_remove_iteration_monthly, :i_quickactions_remove_iteration_weekly,
:i_quickactions_remove_parent_epic_monthly, :i_quickactions_remove_parent_epic_weekly,
:i_quickactions_weight_monthly, :i_quickactions_weight_weekly,
:quickactions_total_unique_counts_weekly
)
end
end
end
......
......@@ -189,6 +189,7 @@ module Gitlab
def events_in_same_slot?(events)
# if we check one event then redis_slot is only one to check
return false if events.empty?
return true if events.size == 1
slot = events.first[:redis_slot]
......
......@@ -26,32 +26,32 @@ RSpec.describe Gitlab::UsageDataMetrics do
expect(subject[:counts]).to include(:boards)
end
describe 'Redis_HLL_counters' do
# categories to be merged on future MR
let(:ignored_metric_files_key_patterns) do
%w(
analytics
ci_templates
ecosystem
deploy_token_packages
user_packages
epic_events
snippets
epics_usage
network_policies
).freeze
it 'includes counts keys' do
expect(subject[:counts]).to include(:issues)
end
it 'includes usage_activity_by_stage keys' do
expect(subject[:usage_activity_by_stage][:plan]).to include(:issues)
end
it 'includes usage_activity_by_stage_monthly keys' do
expect(subject[:usage_activity_by_stage_monthly][:plan]).to include(:issues)
end
it 'includes settings keys' do
expect(subject[:settings]).to include(:collected_data_categories)
end
describe 'Redis_HLL_counters' do
let(:metric_files_key_paths) do
Gitlab::Usage::MetricDefinition
.definitions
.select { |k, v| v.attributes[:data_source] == 'redis_hll' && v.key_path.starts_with?('redis_hll_counters') }
.reject { |k, v| v.key_path =~ Regexp.union(ignored_metric_files_key_patterns) }
.keys
.sort
end
# Recursively traverse nested Hash of a generated Usage Ping to return an Array of key paths
# Recursively traverse nested Hash of a generated Service Ping to return an Array of key paths
# in the dotted format used in metric definition YAML files, e.g.: 'count.category.metric_name'
def parse_service_ping_keys(object, key_path = [])
if object.is_a?(Hash)
......@@ -63,34 +63,17 @@ RSpec.describe Gitlab::UsageDataMetrics do
end
end
let(:usage_ping_key_paths) do
let(:service_ping_key_paths) do
parse_service_ping_keys(subject)
.flatten
.select { |k| k.starts_with?('redis_hll_counters') }
.reject {|k| k =~ Regexp.union(ignored_metric_files_key_patterns) }
.sort
end
it 'is included in the Usage Ping hash structure' do
expect(metric_files_key_paths).to match_array(usage_ping_key_paths)
it 'is included in the Service Ping hash structure' do
expect(metric_files_key_paths).to match_array(service_ping_key_paths)
end
end
it 'includes counts keys' do
expect(subject[:counts]).to include(:issues)
end
it 'includes usage_activity_by_stage keys' do
expect(subject[:usage_activity_by_stage][:plan]).to include(:issues)
end
it 'includes usage_activity_by_stage_monthly keys' do
expect(subject[:usage_activity_by_stage_monthly][:plan]).to include(:issues)
end
it 'includes settings keys' do
expect(subject[:settings]).to include(:collected_data_categories)
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment