Azure-docs: Are Function Apps (Consumption Plan) supported?

Created on 15 Feb 2019  Â·  9Comments  Â·  Source: MicrosoftDocs/azure-docs

An App Insights instance which only monitors Function Apps, is prompting us to try Snapshot Debugger.
Are Function Apps (Consumption Plan) supported? I don't see confirmation on this page.


Document details

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

Pri1 application-insightsvc product-question triaged

Most helpful comment

@ishepherd I am responding on behalf of the Snapshot Debugger team. It was a bug where function app and App Service were not differentiated in our banner code. I have a PR out to fix this issue.
To answer your question, You can use Snapshot Debugger on the Consumption plan to get a snapshot, but it will not be able to capture your locals. On an App Service plan, it will be able to capture the locals as well. The steps to enable the Snapshot Debugger are currently being documented. If you are interested in using it now, Update host.json and add the below :

`{
"version": "2.0",

"logging": {

"applicationInsights": {
  "snapshotConfiguration": {
    "IsEnabled": true
  }
}

}
}`

All 9 comments

@ishepherd Thanks for the question! We're investigating this and will get back to you shortly.

@pharring any thoughts on this one?

@ishepherd I am responding on behalf of the Snapshot Debugger team. It was a bug where function app and App Service were not differentiated in our banner code. I have a PR out to fix this issue.
To answer your question, You can use Snapshot Debugger on the Consumption plan to get a snapshot, but it will not be able to capture your locals. On an App Service plan, it will be able to capture the locals as well. The steps to enable the Snapshot Debugger are currently being documented. If you are interested in using it now, Update host.json and add the below :

`{
"version": "2.0",

"logging": {

"applicationInsights": {
  "snapshotConfiguration": {
    "IsEnabled": true
  }
}

}
}`

@jemodyMS Thanks a lot for the detailed response! Please let us know once the said changes are out.

@ishepherd Hope your question is answered. Please try the mentioned steps and let us know if you need further assistance!

@ishepherd We are going to close this thread as resolved, but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Why this information is not in the docs, but here, in the Closed issues?

@artemious7 I'm sorry this hasn't been documented yet. I'll work on that and have updated documentation published in the next couple of weeks.

Hi @cweining , I'm having trouble getting this set up. Is this still on your radar? Would you like me to open a new issue?

Hi all,

Member of the Snapshot Debugger team,

We have created the proper documentation of how to enable Application Insights Snapshot Debugger in Azure Function, see below:
https://docs.microsoft.com/azure/azure-monitor/app/snapshot-debugger-function-app

Renato Gutiérrez

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdcoder2 picture bdcoder2  Â·  3Comments

bityob picture bityob  Â·  3Comments

AronT-TLV picture AronT-TLV  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments