From f0b19debdc1cc5f1781bd54b09d6b8cc4145fffe Mon Sep 17 00:00:00 2001 From: Catherine Date: Mon, 22 Sep 2025 19:47:00 +0000 Subject: [PATCH] Make `X-Pages-Update: no-change` a reportable event. --- src/pages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages.go b/src/pages.go index 5610094..0efdad0 100644 --- a/src/pages.go +++ b/src/pages.go @@ -49,7 +49,7 @@ func reportSiteUpdate(via string, result *UpdateResult) { case UpdateTimeout: siteUpdateErrorCount.With(prometheus.Labels{"cause": "timeout"}).Inc() case UpdateNoChange: - // nothing to report + siteUpdateOkCount.With(prometheus.Labels{"outcome": "no-change"}).Inc() case UpdateCreated: siteUpdateOkCount.With(prometheus.Labels{"outcome": "created"}).Inc() case UpdateReplaced: