3
votes

Is it possible to use the application insights profiler on azure functions? Either via the portal or a more manual means.

I haven't found a way in the portal and I haven't seen explicit documentation stating either way nor github tickets.

I'd assume probably not, as many of the automagic features of application insights don't seem to be supported yet.

If it's not possible, out of interest is it because of the azure functions sandbox not giving enough permissions for profiling?

1

1 Answers

1
votes

If it's not possible, out of interest is it because of the azure functions sandbox not giving enough permissions for profiling?

The application insights profiler is just supported in web app. The Azure function belongs to function app. So you can not use profiler in Azure function.

Profiler currently works for ASP.NET and ASP.NET Core web apps that are running on Web Apps.

If you want to suggest Microsoft to add some new features like app insights profiler in app insights in azure function, you could put your suggestion in Github.

Next steps

Application Insights is now GA’d and ready for production workloads. We’re also listening for any feedback you have. Please file it on our GitHub. We’ll be adding some new features like better sampling controls and automatic dependency tracking soon.