add instrumeting xhr