otel spans not flushed in _after?
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- aws, python
研究方向
檢查 datadog_wrapper 的 _after 方法,並比較它如何 flush ddtrace 產生的 spans 與來自 opentelemetry-api 的 spans。使用 Datadog Lambda Layer 86 和 Python 3.11.14 重現未捕捉的例外;當這些 spans 能可靠地抵達 Datadog 時,工作就完成了。
由索引模型根據 Issue 內容生成。
描述
Expected Behavior
Spans from uncaught exceptions should still reliably reach datadog.
Actual Behavior
Many spans from uncaught errors are lost before they can be sent.
This needs further investigation, but I suspect it's because datadog_wrapper's _after method specifically flushes ddtrace-generated spans but not opentelemetry-api ones? Maybe it needs to also call TracerProvider.force_flush if applicable?
Specifications
- Datadog Lambda Layer version: 86
- Python version: 3.11.14
Stacktrace
Paste here
- 主要語言
- Python
- 星號
- 102
- 分支
- 52
- 平均合併
- 5 天 19 小時
- 30 天內合併 PR
- 2
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
DataDog/datadog-lambda-python 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
DataDog/datadog-lambda-python#758 · 1 個 reaction ·
-
難度 2/5 1-3 小時 新手友好度 76/100
DataDog/datadog-lambda-python#755 ·
-
難度 4/5 3-5 天 新手友好度 30/100
DataDog/datadog-lambda-python#688 ·
-
難度 3/5 1-2 天 新手友好度 45/100
DataDog/datadog-lambda-python#666 · 1 個 reaction ·
-
DataDog/datadog-lambda-python#633 · 2 則留言 · 已指派 1 人 ·
查看 DataDog/datadog-lambda-python 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 82/100
-
難度 2/5 1-3 小時 新手友好度 88/100
use-agent-os/agent-os#3314 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
BasedHardware/omi#15662 · 1 則留言 ·
-
documentation help wanted
難度 2/5 1-3 小時 新手友好度 90/100
-
難度 2/5 1-3 小時 新手友好度 62/100
AiursoftWeb/AnduinOS-2#19 ·