Build AWS e2e example app with blog scenarios
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Python
- 星號
- 2.2k
- 分支
- 713
- 平均合併
- 1 天 16 分鐘
- 30 天內合併 PR
- 113
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
getsentry/sentry-python 的其他 Issue
-
Rate limits from later headers shorten longer active limits可能已有人在做 @sentry-junior 於 12 天前認領。 未關閉Python
難度 2/5 1-3 小時 新手友好度 78/100
getsentry/sentry-python#8296 · 1 則留言 ·
維護者通常 1 天內回覆
-
perf: Source context re-reads the whole file via loader.get_source() for every frame可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉Improvement Python Waiting for: Product Owner
難度 2/5 1-3 小時 新手友好度 72/100
getsentry/sentry-python#8089 · 2 則留言 ·
維護者通常 1 天內回覆
-
Improvement Integration: Boto3 Python Traces
難度 2/5 1-3 小時 新手友好度 67/100
getsentry/sentry-python#8074 · 1 則留言 ·
維護者通常 1 天內回覆
-
`litellm`: Set request parameters可能重新可做 關聯的 PR 已關閉且未合併。 未關閉Improvement Python Spans
難度 2/5 1-3 小時 新手友好度 68/100
getsentry/sentry-python#7994 · 1 則留言 ·
維護者通常 1 天內回覆
-
`cohere`: Set request parameters可能重新可做 @mohanprasath-dev 於 44 天前認領,目前沒有進行中的 PR。 未關閉Improvement Python Spans Waiting for: Product Owner
難度 2/5 1-3 小時 新手友好度 65/100
getsentry/sentry-python#7992 · 2 則留言 ·
維護者通常 1 天內回覆
查看 getsentry/sentry-python 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 85/100
521xueweihan/HelloGitHub#4599 ·
-
Bug Needs Triage
難度 2/5 1-3 小時 新手友好度 88/100
pandas-dev/pandas#72413 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
compiler-explorer/compiler-explorer#9710 ·
維護者通常 1 天內回覆
-
bug harness
難度 2/5 1-3 小時 新手友好度 72/100
mruangutai/harness#2687 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
modal-labs/modal-client#4158 ·