Make X-Pages-Update: no-change a reportable event.

This commit is contained in:
Catherine
2025-09-22 19:47:00 +00:00
parent 3701aa1800
commit f0b19debdc

View File

@@ -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: