[HttpWebRequest] Add error.type
for trace and metric
#5034
Merged
error.type
for trace and metric
#5034