set hostname on metrics