metrics bookkeeping