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

(Updated 九月 5, 2015, 12:41 p.m.)


Review request for mesos.


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


Repository: mesos


Description
-------

export additional message metrics from scheduler driver


Diffs
-----

  src/sched/sched.cpp 012af0508eeceeccd168b29f36fa258d20b28c21 
  src/tests/scheduler_driver_tests.cpp 4963f5d672737e4bb8f173f0cbd6c504a5d91b71 

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


Testing (updated)
-------

UT:

1. make successfully!
2. make check successfuly!
3. Run the test framework to check the scheduler metrics:

#  curl -s localhost:47878/metrics/snapshot | python -m json.tool
{
    "scheduler/event_queue_dispatches": 1,
    "scheduler/event_queue_exiteds": 0,
    "scheduler/event_queue_https": 0,
    "scheduler/event_queue_messages": 0,
    "scheduler/event_queue_terminates": 0,
    "system/cpus_total": 8,
    "system/load_15min": 0.57,
    "system/load_1min": 0,
    "system/load_5min": 0.26,
    "system/mem_free_bytes": 1120411648,
    "system/mem_total_bytes": 5071130624
}


Thanks,

Yong Qiao Wang

Reply via email to