replace %HOST% in metric key