Comcast/jrugged — pull request #16 by weggert (2013-03-03 21:20:34+00:00)
Title: Add service name to RolledUpMonitoredService reasons.

This addresses issue #15 in the Issues list.

If a RolledUpMonitoredService has a status that is not UP then
getReasons can be used to determine the cause. Calling getReasons()
enumerates the reason for each child service that is not UP. In
many cases the child services are CircuitBreakers.

The current behavior for getReasons() lists only 'Open' or
'Send Probe Request' for each CircuitBreaker. It does not include
any identification for which CircuitBreaker is affected.

This change adds the service name as a prefix for each reason,
making it clear which service is causing the Non-UP status for the
RolledUpMonitoredService.

Before Change: getReasons() might return
{ "Open", "Send Probe Request" }

After Chnage: getReasons() might return
{ "Service 1:Open", "Service 2:Send Probe Request" }