-
Notifications
You must be signed in to change notification settings - Fork 11
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
An invalid asynchronous invocation was detected #284
Comments
Unfortunately, at the moment we don't support Durable Functions so I don't think there are any workarounds for the async/thread issues here. Feel free to open either a bug report or feature request here: https://help.datadoghq.com/hc/requests/new?tf_1260824651490=pt_product_type:apm&tf_1900004146284=pt_apm_language:.net&tf_1260825272270=pt_apm_category_feature_request |
@jmelosegui about a year ago, my team and I lost about 2 weeks trying to figure out why this was happening with our Durable Functions before figuring out it was the DD Extension. We had to abandon DD and use Application Insights. |
@RobARichardson, that is what we are doing for now. Thanks for sharing! |
Hey @jmelosegui, thanks for opening this. Unfortunately, we don't currently support durable functions at this time, but this is definitely a feature request we are aware of. I've marked this as an enhancement and will leave the issue open. |
We’ve recently encountered an issue in our dev environment while running Azure Durable Functions. After some investigation, it seems to be directly related to the Datadog Application Services (AAS) extension that we are using to monitor our functions.
With the extension enabled, our Durable Function orchestrators exhibit errors related to non-deterministic behavior, which causes the orchestrator to fail.
Here is the error message we are seeing:
When we removed the Datadog extension, the Durable Functions performed as expected without any errors or failures. This leads us to believe that the extension might be introducing some asynchronous behavior or thread context switching that conflicts with the deterministic execution requirements of Durable Functions.
Are there any known workarounds or best practices to ensure the Datadog extension can work alongside Durable Functions without impacting their deterministic behavior?
Any configuration or adjustments we could make to minimize the interference?
Thanks in advance.
The text was updated successfully, but these errors were encountered: