Guangya Liu created MESOS-4323:
----------------------------------
Summary: Deprecate the revocable_resources metrics for both master
and agent
Key: MESOS-4323
URL: https://issues.apache.org/jira/browse/MESOS-4323
Project: Mesos
Issue Type: Bug
Reporter: Guangya Liu
Assignee: Guangya Liu
The {{/metrics/snapshot}} in both master and slave has some metrics reporting
cpu, memory and disk revocable resources. After optimistic offer phase 1, the
revocable resources include two types: ALLOCATION SLACK and USAGE SLACK. Those
metrics will be difficult to understand if it include two kind of revocable
resources in one metric, it is better to deprecate those metrics after 0.27.0
deprecation cycle.
{code}
// Revocable resources.
std::vector<process::metrics::Gauge> resources_revocable_total;
std::vector<process::metrics::Gauge> resources_revocable_used;
std::vector<process::metrics::Gauge> resources_revocable_percent;
{code}
There is already two jira tickets introducing new metrics for USAGE SLACK and
ALLOCATION SLACK separately:
https://issues.apache.org/jira/browse/MESOS-4123
https://issues.apache.org/jira/browse/MESOS-4124
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)