Failed to send entity to Daemon with Streaming_Threshold=0
@srprash đang làm issue này rồi.
Từ ngày 15/2/2022.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Whenever my lambda is triggered, I receive the following errors from XRay:
"[ERROR] 2022-02-08T02:32:12.228Z 564a4269-1437-496c-a824-943fa6bad466 Failed to send entity to Daemon.
Traceback (most recent call last):
File "/var/task/aws_xray_sdk/core/emitters/udp_emitter.py", line 41, in send_entity
self._send_data(message)
File "/var/task/aws_xray_sdk/core/emitters/udp_emitter.py", line 63, in _send_data
self._socket.sendto(data.encode('utf-8'), (self._ip, self._port))
OSError: [Errno 90] Message too long"
The lambda functions as expected.
I've followed similar issues related to "Failed to send entity to X-Ray" for resolution
https://github.com/awslabs/aws-lambda-powertools-python/issues/283
https://github.com/aws/aws-xray-sdk-python/issues/21
https://github.com/aws/aws-xray-sdk-python/issues/21
After setting "xray_recorder.configure(streaming_threshold=0)", I continue to receive the same errors.
Environment
AWS Lambda function runtime: Python 3.8
AWS_XRAY_TRACING_NAME is define
APPNAME_TRACE_XRAY is Y
Trigger APIGATEWAY
CODE*******
def trace_flask(app):
if not os.environ.get("APPNAME_TRACE_XRAY"):
return app
from aws_xray_sdk.core import xray_recorder
from aws_xray_sdk.ext.flask.middleware import XRayMiddleware
xray_recorder.configure(streaming_threshold=0)
XRayMiddleware(app, xray_recorder)
return app
Any help would be greatly appreciated.
- Ngôn ngữ chính
- Python
- Star
- 340
- Fork
- 148
- Merge trung bình
- 7 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aws/aws-xray-sdk-python
-
psycopg connection context manager drops X-Ray tracing wrapper, so cursor execute calls are not tracedCó thể đã có người làm @reginaldalfret đã nhận 24 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
aws/aws-xray-sdk-python#490 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
aws/aws-xray-sdk-python#460 ·
-
Next releaseĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
aws/aws-xray-sdk-python#457 · 1 reaction ·
-
mysql-connector 9.2.0 - TypeError: 'MySQLConnection' object is not iterableCó thể đã có người làm @reginaldalfret đã nhận 24 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
aws/aws-xray-sdk-python#453 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
aws/aws-xray-sdk-python#452 · 1 reaction ·
Tất cả issue của aws/aws-xray-sdk-python
Issue tương tự
-
Pull-through from gcr.io returns 500 when pulling using podman/buildahCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởIssue Triage-Needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pulp/pulp_container#2581 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
521xueweihan/HelloGitHub#4040 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
ClanGenOfficial/clangen#6313 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug(trainer): CustomTrainer func_args with non literal values fail inside the TrainJobCó thể đã có người làm @avanishkasar đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kubeflow/sdk#879 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày