Subsegments' request urls do not contain ports anymore
Opened this issue · 0 comments
MarcMogdanz commented
This commit in the AWS XRay SDK (introduced in version 3.3.4
) changed how the returned request url gets queried and now it does not contain ports anymore.
I've implemented a fix in our test suite by making the port in the regex optional. We should keep an eye out if this results in any problems.
-/^http:\/\/127.0.0.1:[0-9]{1,5}\/example-endpoint/
+/^http:\/\/127.0.0.1(:[0-9]{1,5})?\/example-endpoint/