As Opie, when the heartbeat indicator is red, I want to drill down and see exactly which endpoints are not emitting heartbeats in a timely manner, so I can take corrective actions.
Visualization:
Clicking on the heartbeat indicator displays an indicator for each logical endpoint
For each endpoint:
endpoint should be green if sending heartbeats in a timely manner
endpoint should be red if sending endpoint fails to send heartbeat messages
endpoint name should appear below the endpoint heartbeat indicator icon
seconds elapsed since last heartbeat messages was received should appear next to the the endpoint name
Notes:
Follow up user story to #40, with the added detail of drilling down to the endpoint level indicator
Demo / Acceptance tests:
Case 1:
Deploy the heartbeat plugin in 3 of the 5 Video Store sample endpoints (in all except the ContentManagement and Operations endpoints)
Run the Video Store sample
Wait for 1 minute while heartbeat messages are sent and processed
Heartbeat indicator should be green and the number 3 should be displayed
Click on heartbeat indicator
3 endpoint heartbeat indicators should be displayed, all green.
The name of each endpoint and the number seconds elapsed since last heartbeat messages was received noted next to each indicator
Case 2:
Kill the Sales endpoint
Indicator should turn red within 1 minute
Number below Heartbeat Indicator should be 2 in green and 1 in red
Click on heartbeat indicator
3 endpoint heartbeat indicators should be displayed, 2 green, 1 red
The name of each endpoint and the number seconds elapsed since last heartbeat messages was received noted next to each indicator
Case 3:
Restart Sales endpoint
Within 1 minute the heartbeat indicator should be green and the number 3 should be displayed
Click on heartbeat indicator
3 endpoint heartbeat indicators should be displayed, all green.
The name of each endpoint and the number seconds elapsed since last heartbeat messages was received noted next to each indicator
Case 4:
Deploy the heartbeat plugin in the Operations endpoint and restart it
Within 1 minute the heartbeat indicator should be green and the number 4 should be displayed
Click on heartbeat indicator
4 endpoint heartbeat indicators should be displayed, all green.
The name of each endpoint and the number seconds elapsed since last heartbeat messages was received noted next to each indicator
As Opie, when the heartbeat indicator is red, I want to drill down and see exactly which endpoints are not emitting heartbeats in a timely manner, so I can take corrective actions.
Visualization:
Notes:
Demo / Acceptance tests:
Case 1:
Case 2:
Case 3:
Case 4: