Add the possibility to chart "time to merge" for MRs
Ideally, we should be able to show multiple percentile on the same charts, e.g.
- title: Cycle time of merge requests type: line query: issuable_type: merge_request issuable_state: merged metric: time_to_merge # currently defaults to "self" calculation: percentile # currently defaults to "count" collection_percentiles: - p50 - p95 group_by: week period_limit: 104
query.metricwhich currently defaults to
selfwhich means that we count the matching records, but would be set to
time_to_mergein this case, meaning that we would use
mr.time_to_mergeto perform a calculation.
query.calculationwhich currently default to
count, but would be set to
percentilein this case.
- Reused the
collection_labelsconcept and changed to
collection_percentilesto keep changes minimal.