shadow/shadow — Issue #40: Per-node heartbeat statistics
Author: robgjansen
Created: 2012-02-15 02:59:59+00:00
State: open
Labels: feature

Log a heartbeat every X seconds (where X is a command-line flag, defaulting to 60) with some aggregate statistics for each node:

1. We currently take measurements whenever "processing" inside of a plug-in, and delay events for the associated node based on its CPU speed. We should also track the total measured processing time of each node, and log this information in the heartbeat message
2. Similarly, track and report total bytes in/out of each node
3. Approximate memory usage would be useful, which we could track as the sum of the registered memory as well as new heap allocations (by intercepting malloc family)