bketelsen/skynet — pull request #159 by erikstmartin (2012-10-15 19:45:05+00:00)
Title: Make Dashboard work with statistics in a separate doozer path

Modified InstanceMonitor/InstanceListener to take an optional flag to include statistics, and be notified of statistics changes.

This makes dashboard work as it always has, with update notifications that include the statistics, as well as normal InstanceUpdateNotifications when statistics change.

All the logic is tucked away in InstanceMonitor and InstanceListener so that you just need to enable your instance monitor to watch for statistics changes, and your listeners to tell the monitor that it want's to include statistics.

Normal clients versions of the instance monitor only monitor for ServiceInfo changes, and don't even bother watching the Statistics doozer path.