-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60958/
-----------------------------------------------------------

Review request for mesos, Benjamin Mahler, Kevin Klues, and Jiang Yan Xu.


Bugs: MESOS-6918
    https://issues.apache.org/jira/browse/MESOS-6918


Repository: mesos


Description
-------

If Timer metrics don't have a time window, then just store the last
sampled duration. Since you can't meaningfully graph this (you don't
know when it changed), make the time window compulsory so that we
can always calculate TimeWindow statistics.


Diffs
-----

  3rdparty/libprocess/include/process/metrics/timer.hpp 
0a9c0227c457c6c81a59f65f901a5464ee00983d 


Diff: https://reviews.apache.org/r/60958/diff/1/


Testing
-------

make check


Thanks,

James Peach

Reply via email to