In a recent discussion about developer productivity metrics, we looked at the gerrit_main_numbers visualization on the Gerrit Timing dashboard (same on Gerrit Overview), which displays the field time_to_first_review labeled "Median Time First Review (Days)".
We were surprised about the good values.
We wondered if it might measure how fast our CI is instead of the actual median time of a first human review. Looking at get_time_first_review and get_time_first_review_patchset in grimoire_elk/enriched/gerrit.py does not exclude bots.
Then we found that the value reviewer_bot exists (defined as ./grimoirelab-elk/schema/gerrit.csv:reviewer_bot,boolean,true,"True if the given patchset reviewer is identified as a bot.")
Filtering on reviewer_bot:false on the Gerrit Timing dashboard showed "No results found" and left all widgets empty.
After disabling the default Changesets only filter, data is displayed. However the item "Median Time First Review (Days)" remains completely empty.