Build AWS e2e example app with blog scenarios
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 2.2k
- Forks
- 713
- Merge moyen
- 1 j 16 min
- PR mergées (30 j)
- 113
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de getsentry/sentry-python
-
Rate limits from later headers shorten longer active limitsPeut-être pris @sentry-junior l’a pris il y a 12 jours. OuvertePython
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
getsentry/sentry-python#8296 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
perf: Source context re-reads the whole file via loader.get_source() for every framePeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. OuverteImprovement Python Waiting for: Product Owner
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
getsentry/sentry-python#8089 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Improvement Integration: Boto3 Python Traces
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
getsentry/sentry-python#8074 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
`litellm`: Set request parametersPeut-être à nouveau libre Une pull request pour cette issue a été fermée sans être fusionnée. OuverteImprovement Python Spans
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
getsentry/sentry-python#7994 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
`cohere`: Set request parametersPeut-être à nouveau libre @mohanprasath-dev l’a pris il y a 44 jours, et aucune pull request n’est ouverte. OuverteImprovement Python Spans Waiting for: Product Owner
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
getsentry/sentry-python#7992 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de getsentry/sentry-python
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
521xueweihan/HelloGitHub#4599 ·
-
Bug Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
pandas-dev/pandas#72413 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
compiler-explorer/compiler-explorer#9710 ·
Les mainteneurs répondent en général sous 1 jour
-
bug harness
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
mruangutai/harness#2687 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
modal-labs/modal-client#4158 ·