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
      }
    }
  }
}
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