Skip to content

Commit

Permalink
add num_review_comments (GMD) metric implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
vchrombie committed Jun 4, 2020
1 parent 4c45fda commit 27ff93b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grimoire_elk/enriched/gitlabcomments.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ def __get_rich_merge(self, item):
rich_mr['code_merge_duration'] = get_time_diff_days(merge_request['created_at'],
merge_request['merged_at'])
rich_mr['num_versions'] = len(merge_request['versions_data'])
rich_mr['num_review_comments'] = len(merge_request['notes_data'])

rich_mr['time_to_merge_request_response'] = None
if merge_request['notes_data'] != 0:
Expand Down

0 comments on commit 27ff93b

Please sign in to comment.