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
Introducing SignalYard: Self-Hosted Structured Logging for Azure That Costs Cents
I built an open source structured logging tool that runs on Azure App Service and stores everything in Table Storage. Serilog sink, log viewer, and AI investigation over MCP — for cents a month.
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