----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/13605/ -----------------------------------------------------------
Review request for mesos, Benjamin Hindman and Vinod Kone. Repository: mesos-git Description ------- This alters statistics.json to return instantaneous resource consumption information. Previously, one could receive information that is stale by up to 5 seconds (or the RESOURCE_MONITORING_INTERVAL). This allows one to build Top like utilities using the monitoring endpoint, this is done by the subsequent change in this chain of reviews. Diffs ----- src/slave/monitor.hpp 52568ad8ec566f7cf36c249c76d798d44eacb578 src/slave/monitor.cpp 8e1eb353c55f9a04b07c382c10c669715a2d7ac2 src/tests/monitor_tests.cpp 31424160b0493ef37705be25cd97f74e027d85ef Diff: https://reviews.apache.org/r/13605/diff/ Testing ------- Split the monitoring tests into two tests: 1. Tests that verify the periodic collection is working correctly. 2. Tests that use the instantaneous statistics.json endpoint. Thanks, Ben Mahler
