Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 74948 invoked from network); 12 Aug 2009 01:14:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Aug 2009 01:14:54 -0000 Received: (qmail 95882 invoked by uid 500); 12 Aug 2009 01:15:01 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 95845 invoked by uid 500); 12 Aug 2009 01:15:01 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 95830 invoked by uid 99); 12 Aug 2009 01:15:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 01:15:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 01:14:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 277C429A0025 for ; Tue, 11 Aug 2009 18:14:15 -0700 (PDT) Message-ID: <1242004245.1250039655161.JavaMail.jira@brutus> Date: Tue, 11 Aug 2009 18:14:15 -0700 (PDT) From: "Michael Greene (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Updated: (CASSANDRA-36) Log runtime stats for analysis by ops In-Reply-To: <1083033673.1238599392979.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Greene updated CASSANDRA-36: ------------------------------------ Component/s: Tools > Log runtime stats for analysis by ops > ------------------------------------- > > Key: CASSANDRA-36 > URL: https://issues.apache.org/jira/browse/CASSANDRA-36 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Jonathan Ellis > Assignee: Jonathan Ellis > Fix For: 0.4 > > > We need to log stats that indicate node / cluster health. Some that I can think of are: > - executor pool pending operation (queue) length [memtable per CF, memtablemanager, storageservice.bootstraper, storageservice.consistencymanager] > - memtable size (which is more useful: per CF or total?) > - sstable size, per CF > - number of unmerged SSTables, per CF > - size of sstable indexes (this is the other major semi-permanent memory chunk) > - writes, reads per second (throughput) > - average seconds per write / read (latency) > - percent of reads that have to hit a SSTable (we don't know if this is in the OS cache or not, so is this actually useful?) > - commitlog on-disk size (want to make sure these are getting cleaned out regularly) > Currently some of these are logged in an ad-hoc manner, e.g. time to read in ReadVerbHandler, but aggregation is not done and logs on a per-op basis are going to get quite spammy. I'd like one thread to be in charge of logging, to dump aggregate data (at level INFO) every minute or so. > Might also be nice to expose this on the web console. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.