Open michaelelleby opened 1 year ago
Hi @michaelelleby, thanks for opening the issue and adding a link to a sample project. I will try to reproduce the issue. Just to confirm, was this working for you on a previous version of Durable Functions? Thanks!
Downgrading Microsoft.Azure.WebJobs.Extensions.DurableTask
NuGet package to version 2.5.0 produces the same issue. So no, it did not work on a previous version of Durable Functions.
@bachuv any progress on this issue?
@bachuv I believe this was mentioned in couple of issues already. (eg. here https://github.com/Azure/azure-functions-durable-extension/issues/939#issuecomment-544295526)
It would be nice if we could reset correlation when calling ContinueAsNew.
cc @michaelelleby
Description
When using Eternal orchestrations in C# we are seeing correlation between every activity in every execution of the orchestration, making the correlation useless as now every log entry is correlated to every other log entry ever made.
Expected behavior
Log entries of an orchestration execution and activities started by that execution are correlated.
Actual behavior
Log entries of every orchestration execution and activities started by every execution are correlated.
Relevant source code snippets
I have made a small project demonstrating the issue https://github.com/michaelelleby/DurableFunctionsEternalOrchestrationDistributedTracing The code is using the example provided at https://github.com/Azure/azure-functions-durable-extension/discussions/1788#discussioncomment-671121 to make Distributed Tracing possible at all in Durable Functions.
Known workarounds
None.
App Details
Screenshots
If deployed to Azure