Azure Functions not showing all executions under Monitoring
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
}
}
}
} 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
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.
Practical tips on how I achieved 45% Savings on my Microsoft Azure billing
About 18 months ago, I took over a product that was fully run on Azure. The solution costs had ballooned from $2000/month at its inception, to almost
Importing a CSV file into Azure SQL with Azure Functions
Importing CSV files into Azure SQL is quick and easy using Azure Functions.