Missing data for Merge Requests merged, showing as Avg: NaN · Max: NaN

Summary

Under Merge Request Analytics, the Merge Requests merged is showing missing data on GitLab.com ~SaaS and on a GitLab Ultimate self-managed customer reported instance for version 14.9.1 (internal ZD ticket). The data is shown as follows:

  • Merge Requests merged Avg: NaN · Max: NaN

Steps to reproduce

  • Go to Merge Request Analytics of a project
  • Enter a date range

Example Project

Link to an example date range on GitLab.com

What is the current bug behavior?

Merge Requests merged does not get populated and showing as Avg: NaN · Max: NaN

What is the expected correct behavior?

Merge Requests merged should be populated correctly as per the customer.

Relevant logs and/or screenshots

image

Output of checks

This bug happens on GitLab.com

Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

-->

Possible fixes

Edited by Daphne Kua