Fix #53 metrics should be at stream level

dont split on underscores
move this method to some util lcass