Change metric type in DelegateHttp and WsHttp