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.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@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
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": {
}
}`