feat(aws-lambda): Add exec. environment and invocation attributes
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
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- aws, python
- Bereich
- backend, observability
Rechercherichtung
Start by reading the AWS Lambda integration and its tests in sentry-python; the issue does not name specific files or test paths. Check the linked sentry-conventions#730 dependency before work. Done means environment attributes are cached once and invocation attributes reflect cold starts, timing, remaining time, and the CloudWatch logs URL.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Cold starts and durations are invisible on spans: duration, remaining time and the CloudWatch URL are only added as extras to error events.
Cold starts and durations are currently invisible and only added as extras to error events. Add the following attributes:
Environment (cached once)
faas.instance: log stream namefaas.max_memory:AWS_LAMBDA_FUNCTION_MEMORY_SIZE× 1,048,576faas.entry_point:_HANDLERaws.lambda.initialization_type:AWS_LAMBDA_INITIALIZATION_TYPE
Invocation
faas.coldstart:trueon the first invocation in the environmentaws.lambda.proactive_initialization:trueon a first invocation that starts > 10 s after the SDK loaded (no request waited for the init)aws.lambda.execution_duration_in_millis/faas.duration_in_ms: handler durationaws.lambda.remaining_time_in_millis: at invocation endaws.cloudwatch.logs.url
Depends on getsentry/sentry-conventions#730
- 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 ·