Azure-docs: Monitoring Functions on Consumption Plans?

Created on 12 Mar 2019  Â·  7Comments  Â·  Source: MicrosoftDocs/azure-docs

What features are not supported for monitoring a Functions app running on a [Linux] Consumption Plan?

Many of the features described in this documentation do not appear to work or reveal any actual information with such a setup.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 assigned-to-author azure-functionsvc doc-enhancement triaged

Most helpful comment

@ericdrobinson I've confirmed that these Consumption plan log queries do run successfully now against a Linux Consumption plan function app. I'll make sure that these examples also get added to the monitoring articles.

All 7 comments

Hi @ericdrobinson Thank you for your feedback! We will review and update as appropriate.

@ericdrobinson Can you please confirm which particular feature you are referring in the doc ?

If you are using Application Insights Monitoring there should not be any differences as Monitoring is done by a Function App run time which is independent of platform.

Check out this thread for Built-in Logging.

Also check Application Insights for Azure Functions supported features here.

@ericdrobinson Can you please confirm which particular feature you are referring in the doc ?

  1. The "Servers" image doesn't match what I see:
    image
  2. The "Metrics Explorer" image seems to match what is now just "Metrics"?
  3. Many of the metrics listed in the "Metrics" page (e.g. Process CPU) show nothing.

Also check Application Insights for Azure Functions supported features here.

First off, is that information available on the docs site anywhere? If not, it should be. It's better than most of the "monitoring" documentation that I've seen while perusing through the main docs site...

Second, that documentation _also_ doesn't mention whether CPU/Memory metrics are expected to be collected or not.

@ericdrobinson Thank you for providing the required information. I understand that the UI for Application Insights changed and the document is still showing the older images.

I am assigning this to content author for further review and take an appropriate action.

Also it is mentioned in the document which I shared in my last post that _"Automatic collection of Performance Counters only work Windows machines"_.

Also it is mentioned in the document which I shared in my last post that "Automatic collection of Performance Counters only work Windows machines".

Some constructive feedback for you:

  1. The grammar of that sentence is broken. At the very least, it should read:
    >Automatic collection of Performance Counters only works on Windows machines.
  2. The usage of "Windows machines" is somewhat ambiguous. Do you mean Windows VMs? Windows WebApps? Please use terms that match the language used in the rest of the documentation.
  3. The use of the term "Automatic" implies that it may be possible to get the missing metrics by using a Manual approach. Please provide information on how this may be enabled. If it is not possible, explicitly say as much.
  4. Define "Performance Counters" more explicitly. Depending on what you're goal is, Network bandwidth or request rate may indicate performance. If you mean "hardware" performance (e.g. memory/CPU consumption, etc.), a clear definition of what you mean here would be helpful.

Addressing these concerns would go a long way to clarifying things and setting expectations for your customers.

Finally, an explicit question: Is it possible to get CPU and Memory utilization metrics on Azure Functions for Linux?

@brettsam can you address the question about any limitations of Application Insights metrics on Linux versus Windows?

@ericdrobinson I've confirmed that these Consumption plan log queries do run successfully now against a Linux Consumption plan function app. I'll make sure that these examples also get added to the monitoring articles.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spottedmahn picture spottedmahn  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments