mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhilip Kumar S (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-5873) Quota Status REST api to respond with more information
Date Wed, 20 Jul 2016 21:13:20 GMT
Dhilip Kumar S created MESOS-5873:
-------------------------------------

             Summary: Quota Status REST api to respond with more information
                 Key: MESOS-5873
                 URL: https://issues.apache.org/jira/browse/MESOS-5873
             Project: Mesos
          Issue Type: Improvement
          Components: HTTP API
         Environment: https://mesos.apache.org/documentation/latest/quota/
            Reporter: Dhilip Kumar S
            Priority: Minor


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
{
	"infos": [{
		"guarantee": [{
			"name": "cpus",
			"role": "*",
			"scalar": {
				"value": 10.0,
				"satisfied": 8.0
			},
			"type": "SCALAR"
		}],
		"role": "test"
	}]
}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message