-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41254/
-----------------------------------------------------------
(Updated 一月 3, 2016, 1:31 p.m.)
Review request for mesos, Ben Mahler, Artem Harutyunyan, Joris Van Remoortere,
Joseph Wu, and Klaus Ma.
Bugs: MESOS-4124
https://issues.apache.org/jira/browse/MESOS-4124
Repository: mesos
Description
-------
Enable master get ALLOCATION_SLACK metrics.
Diffs (updated)
-----
src/master/master.hpp 1cc5531de70bdc0bdce9835c4930dc774406fac9
src/master/master.cpp 40ce3e17fca88da689128bcf5d35fdddc396c011
src/master/metrics.hpp 551e4eb0f910aa4ce28a2a955019108fcd3d6371
src/master/metrics.cpp 5e4f4d352579dcd391a133600f9d4abc6b2402a7
src/tests/metrics_tests.cpp f081fb9b68f25c6d6005f195c34253fba8abc146
Diff: https://reviews.apache.org/r/41254/diff/
Testing (updated)
-------
$ curl "http://192.168.0.107:5050/metrics/snapshot" 2>/dev/null| jq . | grep
allocation_slack
"master/cpus_allocation_slack_percent": 0,
"master/cpus_allocation_slack_total": 3,
"master/cpus_allocation_slack_used": 0,
"master/disk_allocation_slack_percent": 0,
"master/disk_allocation_slack_total": 0,
"master/disk_allocation_slack_used": 0,
"master/mem_allocation_slack_percent": 0,
"master/mem_allocation_slack_total": 1000,
"master/mem_allocation_slack_used": 0,
Thanks,
Guangya Liu