[
https://issues.apache.org/jira/browse/MESOS-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13993253#comment-13993253
]
Dominic Hamon edited comment on MESOS-1332 at 5/8/14 11:43 PM:
---------------------------------------------------------------
Task states are currently counter type, ie, they monotonically increase. It
would be more reasonable to expect these to be gauges so we can capture the
breakdown of how many tasks are in a given state in a given instant. Suggested
name: "tasks_<state>".
Similarly, active vs inactive frameworks and slaves would benefit from being
gauges: "active_slaves", "inactive_frameworks", etc.
The number of successful slave registrations, reregistrations, and removals can
be captured by counters: "slave_registrations", "slave_reregistrations", etc.
Uptime should probably include the unit of time: "uptime_secs".
was (Author: dhamon):
Task states are currently counter type, ie, they monotonically increase. It
would be more reasonable to expect these to be gauges so we can capture the
breakdown of how many tasks are in a given state in a given instant.
> Improve Master and Slave metric names
> -------------------------------------
>
> Key: MESOS-1332
> URL: https://issues.apache.org/jira/browse/MESOS-1332
> Project: Mesos
> Issue Type: Improvement
> Components: master, slave
> Reporter: Dominic Hamon
>
> As we move the metrics to a new endpoint, we should consider revisiting the
> names of some of the current metrics to make them clearer.
> It may also be worth considering changing some existing counter-style metrics
> to gauges.
--
This message was sent by Atlassian JIRA
(v6.2#6252)