Azure / azure-functions-durable-extension

Durable Task Framework extension for Azure Functions
MIT License
713 stars 268 forks source link

Distributed Tracing sample for Durable Entities does not work #2485

Open michaelelleby opened 1 year ago

michaelelleby commented 1 year ago

Description

A clear and concise description of what the bug is. Please make an effort to fill in all the sections below; the information will help us investigate your issue.

NOTE: JavaScript issues should be reported here: https://github.com/Azure/azure-functions-durable-js

Distributed Tracing does not work at all for Durable Entities, as this sample https://github.com/Azure/azure-functions-durable-extension/blob/dev/samples/correlation-csharp/FunctionAppCorrelation/EntityOrchestration.cs would otherwise suggest that it does work.

Expected behavior

A clear and concise description of what you expected to happen.

Distributed Tracing includes traces from Durable Entities and correlates traces for both the initial execution of the orchestrator as well as replays of the orchestrator.

Actual behavior

A clear and concise description of what actually happened.

Distributed Tracing does not correlate traces from Durable Entities in the End-to-end transaction view in Application Insights UI.

Relevant source code snippets

https://github.com/Azure/azure-functions-durable-extension/blob/dev/samples/correlation-csharp/FunctionAppCorrelation/EntityOrchestration.cs

Known workarounds

Provide a description of any known workarounds you used.

App Details

Screenshots

If applicable, add screenshots to help explain your problem.

If deployed to Azure

We have access to a lot of telemetry that can help with investigations. Please provide as much of the following information as you can to help us investigate!

If you don't want to share your Function App or storage account name GitHub, please at least share the orchestration instance ID. Otherwise it's extremely difficult to look up information.

lilyjma commented 9 months ago

@bachuv - I believe there's currently no Distributed Tracing support for Entities?