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 0008 sends Prometheus metrics to an Azure Monitor workspace through managed Prometheus. The sample service (ADR 0014) needs to expose request counts and latency for the SLIs. The service uses only the Go standard library and has no go.sum. The admin port is not part of the Kubernetes Service, and the ingress cannot reach it.
http_requests_total with the labels route and code, and one histogram, http_request_duration_seconds with the label route.GET /metrics is served on the admin port only. The API handler does not serve it.admin container port. The Service and the ingress never carry /metrics.metrics.scrape.enabled). The network policy allow-metrics-scrape lets pods labelled rsName: ama-metrics in kube-system reach port 8081.go.sum and no Dockerfile change.kind cluster has none, so the kind install turns scraping off.go.sum, and the Dockerfile would change./metrics on the API port. The ingress could reach it.