You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Zhitao Li (JIRA)" <ji...@apache.org> on 2017/01/06 15:06:58 UTC

[jira] [Created] (MESOS-6873) Replace actor queue size gauge with pair of counters

Zhitao Li created MESOS-6873:
--------------------------------

             Summary: Replace actor queue size gauge with pair of counters
                 Key: MESOS-6873
                 URL: https://issues.apache.org/jira/browse/MESOS-6873
             Project: Mesos
          Issue Type: Bug
            Reporter: Zhitao Li


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:

bq.  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.



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