Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
The Status Rest API for Quota
https://mesos.apache.org/documentation/latest/quota/
Currently responds with below json, { "infos": [{ "guarantee": [{ "name": "cpus", "role": "*", "scalar": { "value": 10.0 }, "type": "SCALAR" }], "role": "test" }] }
It will be more meaningful if the status also responds with additional information such as how much of the Quota is currently being satisfied. Something like below introducing a 'satisfied' attribute in json response
{ "infos": [{ "guarantee": [{ "name": "cpus", "role": "*", "scalar": { "value": 10.0, "satisfied": 8.0 }, "type": "SCALAR" }], "role": "test" }] }