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

Unify stats naming scheme

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vinodkone Vinod Kone
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: