mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Wu <>
Subject Re: Review Request 45440: Added some metrics to the long-lived-framework example.
Date Tue, 05 Apr 2016 22:33:15 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated April 5, 2016, 3:33 p.m.)

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


Rebased on previous patch (interleaved changes).

Bugs: MESOS-5062

Repository: mesos


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 (updated)

  src/examples/long_lived_framework.cpp ef498d63bc5f0a8deb46d71edd85a76a1d38fdd0 



make check

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


Joseph Wu

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