Azure / Azure/azure-functions-host

Distributed Tracing for Durable Functions and general OTel support compatibility

Open
#11,233 9 comments 0 reactions 0 assignees View on GitHub
answered Needs: Attention :wave: question
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

#### Question

1. a. [Distributed Tracing](https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-diagnostics?tabs=csharp-inproc#distributed-tracing) exists for Durable Functions, which is [compatible with OTel](https://github.com/Azure/azure-functions-durable-extension/blob/f943321ca9722a033b9416d18e879509f8c430b2/src/WebJobs.Extensions.DurableTask/Options/DurableDistributedTracingVersion.cs#L23). How compatible is it with the general OTel support in Azure Functions, as being tracked here: https://github.com/Azure/azure-functions-host/issues/10665?

b. I've found [samples/DistributedTraceSample/OpenTelemetry#tracer-provider](https://github.com/Azure/durabletask/tree/main/samples/DistributedTraceSample/OpenTelemetry#tracer-provider) which seems more aligned with the general OTel support, would that be the preferred - equivalent - setup, compared to just setting `"distributedTracingEnabled": true,` in `host.json`?

1. Shouldn't the Distributed Tracing functionality for durable functions be mentioned here https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry?

Contributor guide

Open the contributing guide

Research direction

Compare the Durable Functions distributed tracing documentation, the durabletask DistributedTraceSample/OpenTelemetry tracer-provider setup, and Azure Functions host issue 10665. Determine how the two configurations relate and whether the Azure Monitor OpenTelemetry documentation needs a Durable Functions reference; done means the compatibility and preferred setup are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
distributed-systems, documentation, observability-sre
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.