Use aws resource detector in python layer

Đang mở
#2,742 0 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 2 ngày

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

Đánh giá

Độ khó
3/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

Start by locating the Python layer code that injects Lambda information into OpenTelemetry environment variables, then check how the AWS resource detector is configured and loaded in the OpenTelemetry Python SDK. Update the layer to use that detector, and confirm Lambda resource attributes are provided through it instead of the current injection path.

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

Mô tả

enhancement python

Is your feature request related to a problem? Please describe.

Currently the python layer is injecting the lambda info into otel environment variables rather than using the aws detector.

Describe the solution you'd like

I want the python layer to be using the aws resource detector.

Describe alternatives you've considered

N/a

Additional context

https://github.com/open-telemetry/opentelemetry-python/blob/main/opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py shows loading based on environment variables

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Ngôn ngữ chính
Go
Star
433
Fork
249
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
39

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 open-telemetry/opentelemetry-lambda

Tất cả issue của open-telemetry/opentelemetry-lambda

Issue tương tự

Thêm issue về Go

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.