Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cmcconomyfwig opened this issue Apr 9, 2024 · 0 comments
Labels
P3 Priority 3

Comments

@cmcconomyfwig
Copy link

cmcconomyfwig commented Apr 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Priority 3
Projects
None yet
Development

No branches or pull requests

3 participants