From dev-return-2904-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Feb 24 17:35:16 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 46050 invoked from network); 24 Feb 2009 17:35:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 17:35:16 -0000 Received: (qmail 32583 invoked by uid 500); 24 Feb 2009 17:35:09 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 32553 invoked by uid 500); 24 Feb 2009 17:35:09 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 32536 invoked by uid 99); 24 Feb 2009 17:35:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 09:35:09 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.68.5.15] (HELO relay01.pair.com) (209.68.5.15) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 24 Feb 2009 17:34:56 +0000 Received: (qmail 93753 invoked from network); 24 Feb 2009 17:34:29 -0000 Received: from 96.33.90.152 (HELO ?192.168.1.195?) (96.33.90.152) by relay01.pair.com with SMTP; 24 Feb 2009 17:34:29 -0000 X-pair-Authenticated: 96.33.90.152 Message-Id: <33FE8D78-25F0-460D-A499-65AC537D04CA@apache.org> From: Damien Katz To: dev@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Stats Date: Tue, 24 Feb 2009 12:34:29 -0500 References: X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 23, 2009, at 9:51 AM, Jan Lehnardt wrote: > > On 22 Feb 2009, at 15:06, Jan Lehnardt wrote: >> I mentioned this in an earlier mail but I'd like to bring it up >> again, >> since your input is needed here. Metrics are identified with a >> tuple `{Module, Key}`. `Module` is the module that initiates the >> counting of the metric and `Key` is a uniquely identifies a metric >> within a module. Until now, Alex and I just made up names as >> they came up without much considering a consistent and intuitive >> naming scheme. It would be great if you could help out checking >> if the names are any good and suggest alternatives. > > So far we have: > > {couchdb, open_databases} > {couchdb, request_time} > > {httpd, bulk_requests} > {httpd, head_requests} > {httpd, get_requests} > {httpd, put_requests} > {httpd, post_requests} > {httpd, delete_requests} > {httpd, copy_requests} > {httpd, move_requests} > > {httpd, document_copies} > {httpd, document_creates} > {httpd, document_deletes} > {httpd, document_moves} > {httpd, document_reads} > {httpd, document_updates} > {httpd, requests} > {httpd, temporary_view_reads} > {httpd, view_reads} > > {http_status_codes, Code} (Code is one of 200, 201, 203 ... ) > > > I'd suggest > - to move the `document_*` keys from `httpd` to `couchdb`, Yes. > > - to rename `httpd` to `http`. I think because replication also makes http requests, it should stay as is. > > > Is there anything else that you think should look different? > > MOVE and COPY should be httpd stats, and shouldn't be tracked at the db level, except as the underlying create and deletion stats. -Damien