Build AWS e2e example app with blog scenarios
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
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start by reading scripts/aws/aws-deploy-local-layer.sh and inspect the neighboring scripts/aws/e2e/ directory. Build the manual SAM app for the listed API Gateway, Lambda, SQS, Bedrock, and DynamoDB flow, plus a verify script that checks traces through the Sentry API. Run it by hand in eu-central-1; done means each scenario reports pass/fail with a trace link. Poison and batch depend on getsentry/sentry-python#8083.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Small SAM app in sentry-python under scripts/aws/e2e/, next to scripts/aws/aws-deploy-local-layer.sh. It's the manual end-to-end check for the 3.0 queue work and the basis for the blog post: API Gateway → intake Lambda → SQS (with DLQ) → worker Lambda → Bedrock Converse/ConverseStream → DynamoDB. A verify script checks the resulting traces through the Sentry API and prints pass/fail plus a trace link per scenario.
- Scenarios:
- happy: send one ticket. The request shows
queue.publish. The worker shows a Bedrock Converse span (gen_ai.chat) with prompt, response and tokens. - stream: the same, but the worker uses ConverseStream. The Bedrock span has the streamed response and tokens.
- poison: the worker fails on purpose. Sentry shows an error for each try. After 3 tries (default), SQS moves the message to the dead-letter queue (DLQ).
- batch: send 10 tickets (default, SQS batch max) with one
SendMessageBatchcall. Thequeue.publishspan shows a message count of 10. - Stretch only: in all scenarios, the worker gets a
queue.processspan that links to the request trace. Poison and batch only show the async story if getsentry/sentry-python#8083 lands.
- happy: send one ticket. The request shows
- Why in sentry-python rather than a separate repo? No new repo to request, the app is versioned with the code it checks, and agents find it next to the integration. It stays outside
tests/, so tox and CI never try to reach AWS. The folder is self-contained, so a blog article can link to it directly. - The layer ARN is a template parameter: a branch build from
aws-deploy-local-layer.sh, or the public layer. - Possible default: eu-central-1, Nova Micro via
eu.amazon.nova-micro-v1:0. Run by hand; no CI.
- 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
- 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 getsentry/sentry-python
-
Rate limits from later headers shorten longer active limitsCó thể đã có người làm @sentry-junior đã nhận 12 ngày trước. Đang mởPython
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
getsentry/sentry-python#8296 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
perf: Source context re-reads the whole file via loader.get_source() for every frameCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởImprovement Python Waiting for: Product Owner
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
getsentry/sentry-python#8089 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Improvement Integration: Boto3 Python Traces
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
getsentry/sentry-python#8074 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`litellm`: Set request parametersCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởImprovement Python Spans
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
getsentry/sentry-python#7994 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`cohere`: Set request parametersCó thể làm lại được @mohanprasath-dev đã nhận 44 ngày trước và không có pull request nào đang mở. Đang mởImprovement Python Spans Waiting for: Product Owner
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
getsentry/sentry-python#7992 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/sentry-python
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
521xueweihan/HelloGitHub#4599 ·
-
Bug Needs Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
pandas-dev/pandas#72413 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug harness
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mruangutai/harness#2687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
modal-labs/modal-client#4158 ·