Actually parse the Alerts JSON on the server |
|||||||
Issue descriptionWe don't have to actually put the Alerts messages into the datastore in addition to the raw json bytes, but we should at least verify that the alerts format still parses according to what the current Sheriff-o-Matic was built with. Then log metric counts for alerts json parse errors, and add monitoring to alert on spikes.
,
Aug 28 2016
,
Sep 1 2016
,
Oct 5 2016
,
Nov 22 2016
,
Nov 29 2016
Sean, is there a bug we can merge this into? Or close in favor of?
,
Nov 29 2016
We can close this since it's implemented :) It returns http.StatusBadRequest if it can't json.Unmarshal the blob into a messages.AlertsSummary struct: https://chromium.googlesource.com/infra/infra/+/master/go/src/infra/appengine/sheriff-o-matic/som/alerts.go#93 Elevated 400s will be visible to monarch, alertmanager etc. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by martiniss@chromium.org
, Aug 26 2016Status: Assigned (was: Available)