[fix] Make gather_for_metrics
usage more strict
#315
Merged
gather_for_metrics
usage more strict
#315