Ability to access 'classic' Azure Function Context, so that I can trace against the same operation_Id
cmcconomyfwig opened this issue · comments
💡 Feature description
Currently, I associate my opentelemetry 'dependency' log entries against their parent operation_Id by running the following:
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?