Azure / Azure-Functions

1.12k stars 199 forks source link

Linux consumption Metrics #1148

Open balag0 opened 5 years ago

balag0 commented 5 years ago

Feature parity with Windows for Metrics emitted by the runtime in Linux Consumption

balag0 commented 5 years ago

Related - https://github.com/Azure/azure-functions-python-worker/issues/359

balag0 commented 5 years ago

Bugs: 1) Live metrics doesn't show CPU, memory metrics. 2) Functions monitor tab doesn't show all instances of the app

paulbatum commented 5 years ago

Regarding live metrics, I think this is blocked on App Insights support for performance counter style info on Linux. See the discussion in this issue: https://github.com/Azure/azure-functions-host/issues/3852

ericdrobinson commented 5 years ago

Regarding live metrics, I think this is blocked on App Insights support for performance counter style info on Linux. See the discussion in this issue: Azure/azure-functions-host#3852

@lmolkova mentioned in that discussion that Linux support was in the backlog but not prioritized. Is there a specific GitHub issue tracking that or is it in some other private system?

chintanr97 commented 3 years ago

Hi @paulbatum, I recently configured tests on Azure Durable Functions based on Consumption Plan, running Linux hosts. I can see that the metrics like memory working set seem to be not working or at least values appear to be zero. The similar function execution on Premium plan is reporting the memory working set correctly. Also, apart from the Live Stream of the execution flow, can I compute CPU usage and Memory Consumed: (1) Per Execution of Activity Function; (2) Per Instance used during the test?

Regards, Chintan Rajvir

balag0 commented 3 years ago

Yes, Live stream of CPU and memory usage per instance is on the roadmap.