null
port when using ignore matchers in opentelemetry-instrumentation-http
#2947
Labels
bug
Something isn't working
What version of OpenTelemetry are you using?
What version of Node are you using?
Please provide the code you used to setup the OpenTelemetry SDK
What did you do?
What did you expect to see?
What did you see instead?
Additional context
There seems to be an issue in the
opentelemetry-instrumentation-http
when getting request info on a request passed as a string to Axios on default port. The code here expects a port but theoptions
object looks something like.This is not a critical issue, but it means that
origin
passed toisIgnored
here may not be correctly formatted, thus potentially resulting in exceptions thrown (when trying to cast into URL) or matching not occurring (if trying to match a string).The text was updated successfully, but these errors were encountered: