Hello Lucas !
Thank you for posting on Microsoft Learn.
Azure Durable Functions emit telemetry automatically to Application Insights, including orchestration and activity details.
So you may need to verify that Application Insights is connected to your Function App because it is the core of tracking duration, startup time, and tracing across the durable orchestration and activity functions.
You can also run KQL in the logs of your app resource :
for durable orchestration traces :
traces
| where customDimensions.Category == "Host.Triggers.DurableTask"
| project timestamp, message, operation_Id, customDimensions.FunctionName, customDimensions.EventType
for function invocation durations:
requests
| where cloud_RoleName == "your-function-app-name"
| summarize avg(duration), min(duration), max(duration), count() by name
for detailed per-request duration:
requests
| where cloud_RoleName == "your-function-app-name"
| project timestamp, name, duration, success, operation_Id, customDimensions
You can use operation_Id or customDimensions.instanceId to correlate orchestration with its triggered activity functions.
requests
| where name startswith "DurableFunctionsOrchestrator"
| join kind=inner (
requests
| where name startswith "DurableFunctionsActivity"
) on $left.operation_Id == $right.operation_Id
| project OrchestrationName = $left.name, ActivityName = $right.name, $left.timestamp, $right.timestamp, ActivityDuration = $right.duration