Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4323

Deprecate the revocable_resources metrics for both master and agent

    XMLWordPrintableJSON

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

      Attachments

        Activity

          People

            gyliu Guangya Liu
            gyliu Guangya Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: