Azure / Azure/azure-functions-durable-python

Ability to access 'classic' Azure Function Context, so that I can trace against the same operation_Id

Open
#492 1 comment 0 reactions 0 assignees View on GitHub
Enhancement fixed-in-v2 P3
Dominant language
Python
Stars
157
Forks
70
Avg merge
2d 10h
Merged PRs (30d)
2

Description

💡 **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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.