summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_stats.hrl
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-02-26 17:28:25 +0000
committerJan Lehnardt <jan@apache.org>2009-02-26 17:28:25 +0000
commit3eb02e96bc134806a7b432b4002708af90432d33 (patch)
tree79f57c7505cc56a252adbc31732070f010ade4aa /src/couchdb/couch_stats.hrl
parent8a5b0c697a6fdb3169afe82391368c26bec86978 (diff)
- add descriptions to metrics
- move document_* metrics to couch_db module and merge them into database_* metrics git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748217 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_stats.hrl')
-rw-r--r--src/couchdb/couch_stats.hrl13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/couchdb/couch_stats.hrl b/src/couchdb/couch_stats.hrl
index 7b51aa0c..47a9a86f 100644
--- a/src/couchdb/couch_stats.hrl
+++ b/src/couchdb/couch_stats.hrl
@@ -11,11 +11,12 @@
% the License.
-record(aggregates, {
- min=0,
- max=0,
- mean=0.0,
+ min = 0,
+ max = 0,
+ mean = 0.0,
variance = 0.0,
- stddev=0.0,
- count=0,
- last=0
+ stddev = 0.0,
+ count = 0,
+ last = 0,
+ description
}).