couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Adding_Runtime_Statistics" by JanLehnardt
Date Tue, 01 Feb 2011 00:42:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Adding_Runtime_Statistics" page has been changed by JanLehnardt.
The comment on this change is: fix api.
http://wiki.apache.org/couchdb/Adding_Runtime_Statistics?action=diff&rev1=3&rev2=4

--------------------------------------------------

  An absolute value counter is not really a counter, it collects absolute values for one second.
They are good for collecting information like the amount of time spent in an event or the
size of some piece of data.
  
  {{{
- couch_stats_collector:record({Module, Key}).
+ couch_stats_collector:record({Module, Key}, Value).
  }}}
  
  

Mime
View raw message