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. |