add heatbeat url, add stream for api-server