Skip to content

Latest commit

 

History

History

EnableServiceProfilerForAzureFunction

Application Insights Profiler for Azure Function Example

This folder contains an example of Application Insights Profiler running in an Azure Function of isolated worker model.

Create an Azure Function

Follow this tutorial to create an Azure Function.

Optionally, you can add a DockerFile to run your Azure Function in a container. See this tutorial for more details on how to dockerize your Azure Function.

Create an Application Insights resource

Follow the Create an Application Insights resource. Note down the instrumentation key.

Add Application Insights Profiler to your Azure Function

If you are building an Azure Function in Isolated Worker Mode, please refer to this readme for further guidance on code instrumentation.

Otherwise, you can refer to this readme for guidance on setting up Profiler in ASP.NET Core applications.