improve metric management