feat(aws-lambda): Add init & import spans

Đang mở
#8,085 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
aws, python
Lĩnh vực
observability

Hướng nghiên cứu

Read the AWS Lambda layer code that imports the handler module and starts the first invocation. Check how it detects cold starts, whether /proc/self/stat is available, and how proactive invocations are identified. Done means the function.aws.init span is emitted only for a waited on-demand cold start and the function.aws.import span covers the handler module import.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Feature Integration: AWS Lambda Python Traces

Cold start's and module-level code aren't visible in the trace.

  • function.aws.init: child of the first invocation, named {faas.name} init, only for a cold start a request waited for (on-demand and not proactive). Starts at process start (/proc/self/stat), else when the SDK loaded; ends when the first invocation starts.
  • function.aws.import: the handler module import done by the layer
Ngôn ngữ chính
Python
Star
2.2k
Fork
713
Merge trung bình
1 ngày 16 phút
Pull request đã merge (30 ngày)
113

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getsentry/sentry-python

Tất cả issue của getsentry/sentry-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.