mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yan Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-2776) Master should expose metrics about oversubscribed resources
Date Wed, 03 Jun 2015 21:33:38 GMT

    [ https://issues.apache.org/jira/browse/MESOS-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14571689#comment-14571689
] 

Yan Xu commented on MESOS-2776:
-------------------------------

h2. Metrics

h3. Current metrics about resources
Current metrics refer to the regular resources.
{noformat:title=}
(cpus|mem|disk)_total
(cpus|mem|disk)_used
(cpus|mem|disk)_percent
{noformat}
To maintain backwards-compatibility we should probably keep their semantics unchanged. In
a cluster that allows oversubscribed resources these metrics become ambiguous anyways, so
we'd better create new metrics to capture of real total (regular + oversubscribed).

h3. New metrics.
I propose these metrics to be added.
{noformat:title=}
(cpus|mem|disk)_revocable_total // 'Revocable' avoids distinguishing oversubscribable and
oversubscribed when referring to 'available' and 'used'.
(cpus|mem|disk)_revocable_used
(cpus|mem|disk)_revocable_percent
(cpus|mem|disk)_regular_total
(cpus|mem|disk)_regular_used
(cpus|mem|disk)_regular_percent
(cpus|mem|disk)_overall_total  // (revocable + regular)
(cpus|mem|disk)_overall_used
(cpus|mem|disk)_overall_percent
{noformat}

Will post proposed changes to state.json in a separate comment.

> Master should expose metrics about oversubscribed resources
> -----------------------------------------------------------
>
>                 Key: MESOS-2776
>                 URL: https://issues.apache.org/jira/browse/MESOS-2776
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Vinod Kone
>            Assignee: Yan Xu
>
> state.json and metrics/snapshot should expose metrics on oversubscribed resources (allocated
and available).



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

Mime
View raw message