summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_stats_aggregator.erl
AgeCommit message (Collapse)Author
2009-11-24Fixes COUCHDB-578Paul Joseph Davis
Must've had a regex error when reformatting to a consult format. Also removed the config listener for the stats_descriptions section which is no longer used. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@883850 13f79535-47bb-0310-9956-ffa450edef68
2009-11-21code improvements from tidier. Patch by Kostis Sagonas. COUCHDB-570Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@882903 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03only 1 timer at a time (e.g. flush/1). thanks tisba for the report. COUCHDB-539Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832519 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03eliminate new process flood after OS wakes from sleep. COUCHDB-539Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832477 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24Fixed the test for couch_stats_aggregator.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829456 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24Move stat descriptions out of the config.Paul Joseph Davis
This lists stat descriptions in an Erlang term file to avoid abusing the config system. Uses a file in CouchDB's priv directory that is a list of three-tuple terms. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829304 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17Fixes COUCHDB-396Paul Joseph Davis
Makes the stats calculated over a moving window isntead of calculated for non-overlapping timeframes. This should make trend monitoring more robust. Thanks once again to Bob Dionne for double checking this. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@816043 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14wheeeeeeeeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06trimmed trailing whitespaceNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30correct stat intervals. Thanks Bob DionneAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@789884 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24Added stats tracking for active _changes clients.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@778072 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03stats metrics renamed: os_open_files -> open_os_files, database_changes -> ↵Jan Lehnardt
database_writes git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749583 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02fix capitalisation for MochiWeb in stats descriptionJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749419 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02fix error for when no stats have been collected yet and /_stats is queriedJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749412 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27- remove unused aggregate metrics fieldJan Lehnardt
- return an empty object when there are no stats git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748622 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27- group HTTP method stats into httpd_requests_methods as per Christopher ↵Jan Lehnardt
Lenz's suggestion - renamed http_status_codes to httpd_status_codes - better internal variable naming - remove comments that were leftovers from earlier refactoring git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748582 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26Add style guide for stats descriptions and adjust existing descriptions ↵Jan Lehnardt
accordingly. Thanks to Noah Slater for suggesting the style. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748309 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26Fix and test for file descriptor leaksDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748299 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26- add descriptions to metricsJan Lehnardt
- 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
2009-02-25add js test suite for stats, enable access for a previously internal metricJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747852 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22add missing filesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746734 13f79535-47bb-0310-9956-ffa450edef68