Azure / azure-functions-durable-extension

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

Distributed Tracing GA Plan #2071

Open bachuv opened 2 years ago

bachuv commented 2 years ago

DurableTask

Durable Functions

Out of Proc

(dependent on Functions releasing a collector or its equivalent

Miscellaneous

marnilss commented 2 years ago

Is there any update on this?

I happened to see this page: https://github.com/Azure/azure-functions-durable-extension/blob/dev/samples/correlation-csharp/getting-started.md Is it related, and how? Is it only for a preview or is it in a released version?

cgillum commented 2 years ago

@marnilss the above link refers to a preview, but that preview is available in the current releases. That said, we're redoing the implementation so that it works with all our backend storage providers and so that it's compatible with OpenTelemetry. This issue tracks work required for the rewrite.

uchitha commented 2 years ago

@cgillum We're currently reviewing our logging to improve on distributed tracing capabilities. We got multiple durable functions taking part in business transactions that we'd like to track. All of our functions use App Insights. Do you recommend going ahead with the existing implementation at this point or waiting until the new implementation comes out? We are happy to wait if it provides us with more support/predictability. Also aware that the existing implementation lacks support for certain scenarios (like entity funcs)

cgillum commented 2 years ago

@uchitha I'd recommend waiting for the new implementation if you can. It will definitely provide you with better support and predictability since we want to deprecate/remove the existing previous functionality.

marnilss commented 6 months ago

Apparently it is in preview now !!! https://github.com/Azure/azure-functions-durable-extension/tree/dev/samples/distributed-tracing/v2/DistributedTracingSample

OR is it something else, that looks like what we have been waiting for?

cgillum commented 6 months ago

@marnilss yes, it's in preview now (finally)! You can find the official announcement here: https://azure.microsoft.com/en-us/updates/public-preview-distributed-tracing-v2-for-durable-functions/.

Please give it a try and give us feedback! More data will help us get to GA faster. :)

gha-zund commented 4 months ago

we would really love to try that out, but there are two big must-haves missing for us:

we are standing in front a decision: implement tracing all by our own (which would mean a significant time investment). or wait until this is available (but ... for how long?)

is there a possibility to push this topic? (user voice or something?)

lsl-2020 commented 4 months ago

we would really love to try that out, but there are two big must-haves missing for us:

  • durable entity for isolated function
  • send tracing out via OpenTelemetry

we are standing in front a decision: implement tracing all by our own (which would mean a significant time investment). or wait until this is available (but ... for how long?)

is there a possibility to push this topic? (user voice or something?)

@gha-zund For #2 item, they are working on supporting OTel now. You can redirect to the corresponding links starting from here: https://github.com/Azure/azure-functions-host/issues/9273.

gha-zund commented 4 months ago

thanks for the hint @lsl-2020, I was not aware of that! Great to read that there is something ongoing! :)

lsl-2020 commented 3 months ago

Hi @cgillum and other experts, since OpenTelemetry support PR is merged in both worker side and host side. Any updates on current thread? Do we have an ETA of when we can adopt DT in Azure Functions other than Application Insights?

julealgon commented 3 months ago

I'm also looking for updates on this. I'm in the process of instrumenting the last applications on our side with OTEL and stumbled upon the problem of configuring it on Azure Functions projects.

I'm a bit confused as to why this was closed:

Is this issue here supposed to be the central place for tracking progress on OpenTelemetry support in Azure Functions?

EDIT:

Apparently OTEL is now supported. Found the documentation here: