Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: go/src/infra/monitoring/messages/alerts.go

Issue 1125263004: dispatcher: fix test result parsing, build ranges for failure alerts, other fixes (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: fixed typo in comments Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « go/src/infra/monitoring/dispatcher/dispatcher.go ('k') | go/src/infra/monitoring/messages/gatekeeper.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/monitoring/messages/alerts.go
diff --git a/go/src/infra/monitoring/messages/alerts.go b/go/src/infra/monitoring/messages/alerts.go
index c9dcdc1bf91c1c118beaea5c7f2b8974a35387e1..2ad36adc0597d336e45a20c1e5dd83bcc54cba33 100644
--- a/go/src/infra/monitoring/messages/alerts.go
+++ b/go/src/infra/monitoring/messages/alerts.go
@@ -84,10 +84,12 @@ type BuildFailure struct {
// AlertedBuilder represents an individual builder.
type AlertedBuilder struct {
- Name string
- URL string
- FirstFailure EpochTime `json:"first_failure"`
- LatestFailure EpochTime `json:"latest_failure"`
+ Name string
+ URL string
+ // FirstFailure is the build number of first failure.
+ FirstFailure int64 `json:"first_failure"`
+ // LatestFailure is the build number of latest failure.
+ LatestFailure int64 `json:"latest_failure"`
}
// Reason contains information about why the Alert was triggered.
« no previous file with comments | « go/src/infra/monitoring/dispatcher/dispatcher.go ('k') | go/src/infra/monitoring/messages/gatekeeper.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698