Y axis of "Insights" page shows 'm' unit of measure
Summary
From point 2 in this issue, the Insights page sometimes shows a "m" unit of measure similar to this issue #295674 (closed)
Steps to reproduce
- In a test project, ensure you have at least 6 open MRs and 2 merged MRs. Label them as follows:
- 1 Open MR with Label A
- 3 Open MRs with Label B
- 1 Merged MR with Label B
- Configure your
.gitlab/insights.ymlto look like this:
title: "Charts for Merge Requests"
charts:
- title: "Monthly Created"
description: "Opened per month"
type: stacked-bar
query:
issuable_type: merge_request
issuable_state: all
collection_labels:
- Support
- Development
group_by: month
period_limit: 24
- title: "Monthly Merged"
description: "Merged per month"
type: stacked-bar
query:
issuable_type: merge_request
issuable_state: merged
collection_labels:
- Support
- Development
group_by: month
period_limit: 24
What is the current bug behavior?
Note the Avg: 167m in the screenshot below
What is the expected correct behavior?
I believe the average above should be 1
Output of checks
This happens on gitlab.com
Possible fixes
There is a similar issue here #295674 (closed) that later began returning "NaN" !88507 (merged)
Edited by Michelle Gill
