An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hello @Dewa Tsukasa
The duration column in the requests table represents the total time taken for the request to complete, including the time taken by the server to process the request and the time taken by the client to receive the response.
On the other hand, FunctionExecutionTimeMs in the customDimensions column represents the time taken by the Azure Function to execute the code and generate the response.
The duration column is a standard metric that is used to measure the overall performance of the application, while FunctionExecutionTimeMs is a custom metric that is specific to Azure Functions. In your case, it seems that the duration column is recording a time that exceeds the timeout of 20 seconds, which means that the request is taking longer than expected to complete.
This could be due to various reasons such as network latency, server load, or inefficient code. On the other hand, FunctionExecutionTimeMs is recording the time taken by the Azure Function to execute the code and generate the response, which is within the timeout limit of 20 seconds.
To summarize, duration measures the overall time taken for the request to complete, while FunctionExecutionTimeMs measures the time taken by the Azure Function to execute the code and generate the response.
I hope that this response has addressed your query and helped you overcome your challenges. If so, please mark this response as Answered. This will not only acknowledge our efforts, but also assist other community members who may be looking for similar solutions.