From e5a9dfcf7a3a2efec622241a764a2f21e57723c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sat, 17 Oct 2026 02:33:23 +0000 Subject: [PATCH] mixin: note the metric contract check for runbooks in AGENTS.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- contrib/mixin/AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/mixin/AGENTS.md b/contrib/mixin/AGENTS.md index 0603edb1..e77daf46 100644 --- a/contrib/mixin/AGENTS.md +++ b/contrib/mixin/AGENTS.md @@ -30,6 +30,9 @@ A new alert touches five places, and CI checks all of them: activation time with `ALERTS_FOR_STATE` instead of guessing it. 4. A runbook `docs/runbooks/.md` with the `Meaning`, `Impact`, `Diagnosis` and `Mitigation` sections. + `go test ./internal/metriccontract/` checks every `windows_*` metric name + a runbook mentions against the metrics the exporter emits; the names in + the collector docs are not always current, so check the collector source. 5. A row in the alerts table of `README.md`. Metrics with a state label (`windows_service_state{state="running"} == 0`)