Vinod Kone created MESOS-955:
--------------------------------
Summary: Unify stats naming scheme
Key: MESOS-955
URL: https://issues.apache.org/jira/browse/MESOS-955
Project: Mesos
Issue Type: Improvement
Reporter: Vinod Kone
Fix For: 0.18.0
The stats that we expose do not *explicitly* distinguish between counters
(monotonically increasing over time) and gauges (fluctuating over time). It is
left to the users to interpret them based on the stat name itself, which is
prone to errors/confusion.
One option is to add a "total_" prefix (or "_total" suffix) to counters and/or
"gauge_" prefix ("_gauge" suffix) to gauges. A tricky part here is that we
already expose some cgroup stats with "total_" prefix but they fluctuate over
time (i.e., gauges).
It would be nice to come up with a unifying naming scheme for stats. Since
name/schema changes have far reaching consequence it would be great to have a
discussion around this.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)