An Azure platform for running a service on AKS with Terraform, Argo CD, CI, observability and incident handling.
View the Project on GitHub Franklindot04/production-platform-Azure
ADR 0019 ruled out Grafana and said dashboards are saved queries on the workspaces, stored under monitoring/. Metrics are in the Azure Monitor workspace pp-dev-amw and are queried with PromQL. Traces are in Application Insights, which is linked to the Log Analytics workspace pp-dev-law, and are queried with KQL. The Azure Monitor workspace has no saved-query resource for PromQL. KQL has saved searches on the Log Analytics workspace.
monitoring/prometheus (PromQL) and monitoring/logs (KQL). Each file holds one query and starts with a comment header that says what it shows, where to run it and what it reads.monitoring/README.md lists the files and where each one runs.prometheus/request-rate.promql in the Azure Monitor workspace, and it answered by route. Server spans of the sample service appear in AppRequests with the request name GET /work. logs/failed-requests.kql and logs/slow-requests.kql filter on GET /work, the request name in AppRequests. In Session 2 logs/failed-requests.kql returned the 6,001 failed requests, and logs/slow-requests.kql returned 0 rows because no latency was injected. The other queries have not been run.