mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Wu <jos...@mesosphere.io>
Subject Re: Review Request 45440: Added some metrics to the long-lived-framework example.
Date Wed, 06 Apr 2016 22:34:15 GMT

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

(Updated April 6, 2016, 3:34 p.m.)


Review request for mesos, Greg Mann, Artem Harutyunyan, Kevin Klues, and Vinod Kone.


Changes
-------

Accidentally reset my .reviewboardrc.  Restored description.


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


Repository: mesos


Description (updated)
-------

Adds metrics to gauge the health of the framework.  This includes:

* uptime_secs = How long the framework has been running.
* registered = If the framework is registered.
* offers_received = A counter used to determine if the framework is starved or not.
* tasks_launched = Number of tasks launched.
* abnormal_terminations = Number of terminal status updates which were not `TASK_FINISHED`.

Also adds an endpoint `/framework/counters` which returns the list of metrics which are "counters".


Diffs
-----

  src/examples/long_lived_framework.cpp ef498d63bc5f0a8deb46d71edd85a76a1d38fdd0 

Diff: https://reviews.apache.org/r/45440/diff/


Testing
-------

make check

Also deployed this version on a test cluster.  See the previous review.


Thanks,

Joseph Wu


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message