SH
Azure Functions not showing all executions under Monitoring

Azure Functions not showing all executions under Monitoring

1 min read
Azure

After lodging a support ticket with Microsoft, it seems that you also need to explicitly disable sampling in your hosts.json file for the Function App. The logging snippet below needs to be added to your hosts.json file prior to deployment. After adding this and re-deploying, all executions of this function have appeared.

{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": false
      }
    }
  }
}
MailerLite Sponsored
Share:
Simon Holman

Simon Holman

.NET and Azure Developer

I write about .NET, Azure, and cloud development. Follow along for tips, tutorials, and best practices.

Related Posts

Creating a database on Azure SQL
Azure 6 min read

Creating a database on Azure SQL

Spinning up a database on a managed SQL server with variable resources per database is heavenly. Creating a database on Azure SQL is very quick and easy to do.

Comments