Particular / ServiceControl

Backend for ServiceInsight and ServicePulse
https://docs.particular.net/servicecontrol/
Other
52 stars 47 forks source link

Implement Failed Messages alerts viewing #48

Closed dannycohen closed 11 years ago

dannycohen commented 11 years ago

As Opie, when the failed message indicator is red, I want to see the alerts details so I can take corrective actions, and clear the alerts after I took corrective actions.

Visualization:

  1. When clicking on the endpoint failed messages indicator (#46 and #47) the list of active failed messages alerts associated with that endpoint is displayed
  2. For each alert, display:
    • Alert type ("Failed Message")
    • Creation timestamp
    • Endpoint instance id
    • Message id
    • Time of failure
  3. A single failed message alert is active per message failed
    • (i.e. if a message is retried multiple times, failing with each retry, a single failed message alert will be active for the message id at any given time)

Notes:

Demo / Acceptance tests:

Case 1:

  1. Run the Video Store sample (5 endpoints)
  2. Cause 5 messages to fail in the "Sales" endpoint, and 3 messages to fail in the "eCommerce" endpoint
  3. The Failed message indicator is red, and the number "8 msgs in 2 endpoints" appears below it
  4. Click on the Failed message indicator
  5. The Alerts list is filtered to show only failed messages (i.e. 8 active failed messages alerts)

Case 2:

  1. Run the Video Store sample (5 endpoints)
  2. Cause 5 messages to fail in the "Sales" endpoint, and 3 messages to fail in the "eCommerce" endpoint
  3. The Failed message indicator is red, and the number "8 msgs in 2 endpoints" appears below it
  4. Click on the Failed message indicator
  5. The endpoint failed message indicators appear; 2 endpoints are red (Sales and eCommerce) and the other 3 are green
  6. Next to the Sales and eCommerce endpoints appears the number of active failed message alerts relevant to them (5 and 3, respectively)
  7. Click on the Failed message indicator for the "Sales" endpoint
  8. The Alerts list is filtered to show only failed messages for the "Sales" endpoint (i.e. 5 active failed messages alerts)
dannycohen commented 11 years ago

Replaced by https://github.com/Particular/ServicePulse/issues/13