Build AWS e2e example app with blog scenarios
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 2.2k
- Forks
- 713
- Ø Merge
- 1 T. 16 Min.
- Gemergte PRs (30 T.)
- 113
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus getsentry/sentry-python
-
Rate limits from later headers shorten longer active limitsEvtl. vergeben @sentry-junior hat das vor 12 Tagen übernommen. OffenPython
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
getsentry/sentry-python#8296 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
perf: Source context re-reads the whole file via loader.get_source() for every frameEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. OffenImprovement Python Waiting for: Product Owner
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
getsentry/sentry-python#8089 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Improvement Integration: Boto3 Python Traces
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
getsentry/sentry-python#8074 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
`litellm`: Set request parametersEvtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. OffenImprovement Python Spans
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
getsentry/sentry-python#7994 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
`cohere`: Set request parametersEvtl. wieder frei @mohanprasath-dev hat das vor 44 Tagen übernommen, und es ist kein Pull Request offen. OffenImprovement Python Spans Waiting for: Product Owner
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
getsentry/sentry-python#7992 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in getsentry/sentry-python
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
521xueweihan/HelloGitHub#4599 ·
-
Bug Needs Triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
pandas-dev/pandas#72413 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
compiler-explorer/compiler-explorer#9710 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug harness
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
mruangutai/harness#2687 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
modal-labs/modal-client#4158 ·