feat(aws-lambda): Add exec. environment and invocation attributes
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- aws, python
- 領域
- backend, observability
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- 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 ·