You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/02/27 11:33:58 UTC

[GitHub] SugandhaAgrawal opened a new issue #4311: Replace histogram metrics recording with Gauges where ever applicable

SugandhaAgrawal opened a new issue #4311: Replace histogram metrics recording with Gauges where ever applicable
URL: https://github.com/apache/incubator-openwhisk/issues/4311
 
 
   Current implementation supports using **Counters** and **Histogram** types for recording metrics. At various places, it makes more sense to use **Gauges** instead of Histograms. Mainly:
   - DB Batch size for CouchDB
   - Client retries in Akka client  
   - Kafka queue size
   - Count of healthy, unhealthy, unresponsive and offline blackbox and managed invokers 
   
   These are all implemented as Histogram but as per definition:
   ```
   Gagues: Track a single value that can be increased, decreased or explicitly set. The common use case for gauges are slowly moving values like disk usage, number of loaded classes or configuration settings.
   Histograms: Record the distribution of values within a configurable range and precision. Typically used for recording latency, message sizes and so on.
   ```
   Gauges would be a better fit.
   
   This requires implementation of Gauges in the code.
   
   Any thoughts? cc @chetanmeh 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services