Skip to content

Fix time_frame for metrics definitions

Luis Mejia requested to merge 343321-fix-metrics-definition-time-frame into master

What does this MR do and why?

Fix time_frame for metrics with unproper setup based on issue:

metrics

Monthly

https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210929103010_p_ci_templates_implicit_jobs_deploy_monthly.yml#L12
https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210929102736_p_ci_templates_implicit_jobs_deploy_latest_monthly.yml#L12
https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210929102434_p_ci_templates_implicit_jobs_build_monthly.yml#L12
https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210216183203_product_analytics_test_metrics_union.yml#L12
https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210216183652_bitbucket_server.yml#L12
https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210216183648_github.yml#L12
https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_28d/20210216183650_bitbucket.yml#L12

Weekly

https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_7d/20210514013545_i_code_review_user_resolve_conflict_weekly.yml#L12
https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_7d/20210216181347_g_project_management_issue_cross_referenced_weekly.yml#L12

All

https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/metrics/counts_all/20210216174902_g_analytics_merge_request.yml#L12

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #343321 (closed)

Edited by Luis Mejia

Merge request reports