mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-14 11:11:35 +00:00
Make X-Pages-Update: no-change a reportable event.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user