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

Replace actor queue size gauge with pair of counters

    XMLWordPrintableJSON

Details

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

    Description

      This is necessary to ensure that when the corresponding actor is overloaded, `/metrics/snapshot` still finishes and not blocked infinitely, or seeing corresponding metrics timeout.

      Quoting bmahler from email:

      There are instances of Gauges that might be better represented as
      Counters. For example, we expose the actor queue sizes using a gauge (known
      to be unfortunate!), when instead we could expose two counters for
      "enqueued" and "dequeued" messages and infer size from these. We can also
      add the ability for callers to manually increment and decrement their
      Gauges rather than go through a dispatch.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zhitao Zhitao Li
              Benjamin Mahler Benjamin Mahler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: