Skip to content

Create rake task to update metrics status to data_available

Luis Mejia requested to merge 323184-rake-to-update-metric-status into master

What does this MR do?

Add rake task to update metrics status from implemented to data_available based on given milestone.

This rake task is meant to run locally to generate changes to metrics.

Example rake gitlab:product_intelligence:activate_metrics MILESTONE=14.0

Expected output example

--- a/config/metrics/counts_7d/20210517074851_i_package_helm_deploy_token_weekly.yml
+++ b/config/metrics/counts_7d/20210517074851_i_package_helm_deploy_token_weekly.yml
@@ -7,7 +7,7 @@ product_stage: package
 product_group: group::package
 product_category: package_registry
 value_type: number
-status: implemented
+status: data_available
 milestone: "14.0"

Screenshots or Screencasts (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #323184 (closed)

Edited by Luis Mejia

Merge request reports