Closed
Description
We've enabled the record_full_document
parameter for the pymongo patch method (https://github.com/aws/aws-xray-sdk-python/blob/master/aws_xray_sdk/ext/pymongo/patch.py#L12-L14) and are seeing the below exception when attempting to record a large query/response from mongo.
Would it be possible to update the UDP emitter to truncate the data or split it up so we can see at least some of it in the console?
Many thanks!
failed to send data to X-Ray daemon.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aws_xray_sdk/core/emitters/udp_emitter.py", line 63, in _send_data
self._port))
OSError: [Errno 90] Message too long