mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuan-Anh Hoang-Vu <>
Subject Review Request 49939: Updated GET_METRICS call in AGENT v1 api to return metrics grouped by types.
Date Tue, 12 Jul 2016 02:04:52 GMT

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

Review request for mesos, Benjamin Mahler and Vinod Kone.

Bugs: MESOS-5731

Repository: mesos


Updated GET_METRICS call in agent v1 api to return metrics grouped by types.


  include/mesos/agent/agent.proto cfd117de81396bf79049b7642f1ccd1ff4fbb676 
  include/mesos/v1/agent/agent.proto 213c428d424d8e4f0cc07bd86f1ed59b60df107c 
  src/slave/http.cpp 21c7ebf7c23fd06bee7125c90576eb892b249b4d 
  src/tests/api_tests.cpp 55e825ea6a3bd43c76dc67e8b90a97e8c9530a47 



Modified AgentAPITest.GetMetrics to make sure we return metrics grouped by types.

1. Run master: ./bin/ --ip= --work_dir=/var/lib/mesos
2. Run agent: ./bin/ --master= --work_dir=/var/lib/mesos
2. Call GET_METRICS: curl --header "Content-Type:application/json" --data '{"type": "GET_METRICS",
"get_metrics":{}}' http://localhost:5051/api/v1 | python -m json.tool


Tuan-Anh Hoang-Vu

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