Azure / Azure/azure-functions-durable-python
Ability to access 'classic' Azure Function Context, so that I can trace against the same operation_Id
- 主要语言
- Python
- 星标
- 157
- 派生
- 70
- 平均合并
- 2 天 10 小时
- 30 天内合并 PR
- 2
描述
💡 **Feature description**
Currently, I associate my opentelemetry 'dependency' log entries against their parent operation_Id by running the following:
``` python
carrier = {
"traceparent": azf_context.trace_context.Traceparent,
"tracestate": azf_context.trace_context.Tracestate,
}
context = extract(carrier)
```
(as per azure's own docs)
The azure function context is passed in as the final parameter when main() is called by any binding.
While this seems to work for activities, I am unable to find a similar context information from within durable function orchestrations.
Can you help me find out what I'm missing -- or add it?
贡献指南
调研方向
首先比较为绑定传递给 main() 的上下文与 Durable Functions 编排内部可用的上下文。检查 trace_context 和 operation_Id 在每条路径中是如何公开的,然后确认编排可以访问经典 Azure Function 上下文或等效值,以便根据相同的 operation_Id 跟踪依赖项条目。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- azure, python
- 领域
- backend, cloud
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100