monocle icon indicating copy to clipboard operation
monocle copied to clipboard

Add new chart `times stats` to the `Activity` page

Open mgledi opened this issue 3 years ago • 3 comments

Why? A highly valueable metric for understanding the cycle time of PRs is the "time to merge". There is already the possibility to get the mean "time to merge" for a defined time range. To optimize engineering teams it is important to also see the trend of this and related metrics.

What? Add a new chart to the Activity page:

  • y-axis is duration
  • x-axis is time (days)
  • chart contains three lines: "time to merge", "time comment mean time", and "first review mean time"

mgledi avatar Dec 10 '21 15:12 mgledi

In https://github.com/change-metrics/monocle/issues/764 we drafted an improved activity page to include trend (e.g. simple comparison with previous range) which seems related to this suggestion.

Thank you for the feedback.

TristanCacqueray avatar Dec 10 '21 15:12 TristanCacqueray

Yes. This is what I did for myself. Have two browser windows side by side. But I was interested in more time points.

mgledi avatar Dec 10 '21 15:12 mgledi

Perhaps such metrics could also be collected through an external tool, e.g. by running the relevant queries using a sliding window or something. Then the web interface could expose such data through a create report option?

TristanCacqueray avatar Dec 10 '21 15:12 TristanCacqueray