module Gitlab
module CycleAnalytics
class ReviewStage < BaseStage
def median
@fetcher.calculate_metric(:review,
MergeRequest.arel_table[:created_at],
MergeRequest::Metrics.arel_table[:merged_at])
end