Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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.
// 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;
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