Skip to content

Cloud, DevOps & observability

Terraform, Azure and finding out what your system is actually doing.

Data & operations
9 posts1 h 12 min reading time
Start with part 1 →
  1. Terraform errors I keep seeing, and how to fix themA missing state container, a stuck state lock, a provider update that broke a pipeline nobody touched, and a date setting that changes on every run. Eight Terraform problems from real Azure pipelines, what causes them and how to get out.11 min read
  2. KQL fundamentals for .NET developersKusto looks like SQL, reads like LINQ and has a handful of rules that trip up everyone in the first week. The mental model, the syntax rules and the data model of Application Insights you need before writing your first useful query.8 min read
  3. The KQL features I actually use every weekKQL has hundreds of operators and functions. A dozen of them cover almost every incident. The operators, functions and let tricks I reach for most, plus a complete health-check query and the integer-division bug hiding in it.8 min read
  4. From KQL query to Azure alert rule, with TerraformA query that works in the portal is not yet an alert. How to turn a KQL query into a log search alert rule with Terraform, route it to the right people from your C# code, and avoid the trailing semicolon that breaks everything without a useful error.8 min read
  5. Grafana dashboards on top of Application Insights, with KQLGrafana can query Azure Monitor Logs directly, so your KQL becomes a dashboard that support and product people can use without portal access. Macros, variables, filters that stay fast, and why the dashboard JSON and the queries belong in git.7 min read
  6. Filtering Application Insights telemetry without losing the signalAn API with no users produced thousands of telemetry items in a few days, all health checks and Always On pings. How to filter that noise with telemetry processors or OpenTelemetry, why "Contains" is the wrong match, and how to test that your filter drops only what it should.7 min read
  7. One telemetry client instead of three APIs, an OpenTelemetry facade for ASP.NET CoreOpenTelemetry in .NET means ILogger for logs, ActivitySource for traces and Meter for metrics, each with its own rules. A thin, generic facade that keeps the standard APIs underneath, but gives developers one dependency, stable metric definitions and guard rails against cardinality explosions.9 min read
  8. Azure setup 101: Key Vault, App Configuration and Storage for a new .NET serviceThe checklist I wish every new service started with. A separate storage account for Terraform state, Key Vault with RBAC and managed identities, App Configuration with Key Vault references, and an "infra first" walking skeleton, all without a single secret in a pipeline variable.8 min read
  9. git reflog, the undo button nobody shows youA rebase that went wrong, a hard reset on the wrong branch, a deleted branch with a week of work. In almost every case the commits are still there, and git reflog tells you where. How to read it, how to recover safely, and the few cases where even the reflog can't help.6 min read