I have a function app using linux consumption plan under an enterprise subscription. It is a java based function connected to application insights. As per documentation, there are 2 cost line items related to functions usage-
Execution time - calculated as product of memory used * execution time in seconds.
Both have free monthly grants of 400,000 GB-s and 1 million executions resp. Beyond this, cost is calculated as -
Execution Time* €0.000017/GB-s
Total Executions* €0.201 per million executions
In my monthly bill, I can see a cost incurred against the execution time but nothing against total executions. Although a small amount, I am not sure how it would have exceeded the monthly free grant of 400,000 GB-s.
How can I verify the actual execution time to confirm the cost is calculated correctly?
I checked the metric named "Function Execution Units" with aggregation as "Sum" for the whole month under the metrics page of my function app. It shows 838 M. Is this the execution time? If yes, it is very low compared to free grant?