You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2022/04/19 03:35:03 UTC

[GitHub] [incubator-pegasus] empiredan opened a new issue, #951: Feature(new_metrics): make the counter monotonic

empiredan opened a new issue, #951:
URL: https://github.com/apache/incubator-pegasus/issues/951

   In https://github.com/apache/incubator-pegasus/issues/931 we've implemented the counter that can both increase and decrease. However, in Prometheus a counter can only increase monotonically. If the counter decreases,  functions of Prometheus such as rate() and increase() cannot be used to compute QPS and "recent" count.
   
   In consideration of the problem, this kind of counter is moved to the gauge. Therefore, the gauge is added with increment() and decrement() functions, which can only be used for integral types.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org


[GitHub] [incubator-pegasus] empiredan closed issue #951: Feature(new_metrics): make the counter increment monotonically

Posted by GitBox <gi...@apache.org>.
empiredan closed issue #951: Feature(new_metrics): make the counter increment monotonically
URL: https://github.com/apache/incubator-pegasus/issues/951


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org