compute metrics with new tags field.