Adventures with Cosmos: Alerting and 429 Status Codes

During periods of peak transactions Cosmos may return a 429 Status Code – Too Many Requests, which means the collection has exceeded the provisioned throughput limit (RUs) and that you should retry the request after the server specified retry after duration. I want to setup alerting on both an Azure Function and the underlying Cosmos…

Adventures with Azure Functions: Create an Alert from App Insights to Send an Email Notification

I’ve been working fiddling with a better way to receive a notification from an Azure Function that has encountered an exception. There are probably a few approaches to doing this, some that involve code others that do not. My first choice, is to try to take the no-code or low-code approach. So to get things…

Adventures with Azure: Sample CRUD .NET Core API and Azure Functions

I created a sample CRUD demonstrating API functionality using a .NET Core Web API and Azure Functions. Each project contains RESTful API endpoints for adding, updating, fetching and deleting a record from a database. There are currently two flavors: Cosmos DB 3.0 SDK at https://github.com/mattruma/Heroes Entity Framework Core at https://github.com/mattruma/Heroes/tree/EntityFrameworkCore In the future, I will…