DRILL-227: implement simple metrics framework