After implementing opentelemetry logging, the following is being seen in newrelic
Invalid type ASGIRequest for attribute 'request' value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types
This occurs when someone visits an error page such as Not Found, like api.jolpi.ca/foobar
To resolve this we remove the offending attribute and replace it with compatible ones
Contributing Checklist
[ ] Unit tests for the changes are included in this PR.
Why are you making this change?
After implementing opentelemetry logging, the following is being seen in newrelic
This occurs when someone visits an error page such as Not Found, like api.jolpi.ca/foobar To resolve this we remove the offending attribute and replace it with compatible ones
Contributing Checklist