From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.raindrops.general Subject: watcher updates in raindrops.git Date: Mon, 3 Oct 2011 18:47:32 -0700 Message-ID: <20111004014732.GA5761@dcvr.yhbt.net> References: <20111004014732.GA5761@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317694029 6487 80.91.229.12 (4 Oct 2011 02:07:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 02:07:09 +0000 (UTC) To: raindrops@librelist.org Original-X-From: raindrops@librelist.org Tue Oct 04 04:07:04 2011 Return-path: Envelope-to: gclrrg-raindrops@m.gmane.org In-Reply-To: <20111004014732.GA5761@dcvr.yhbt.net> List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: raindrops@librelist.org Xref: news.gmane.org gmane.comp.lang.ruby.raindrops.general:48 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RAuPO-0001Ba-Qk for gclrrg-raindrops@m.gmane.org; Tue, 04 Oct 2011 04:07:03 +0200 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id F0B0A219BDF for ; Tue, 4 Oct 2011 02:09:03 +0000 (UTC) Hi all, I've added some new statistics to the Watcher service. The following diff should document the new headers: diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index 19756a7..7683ed4 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -89,6 +89,9 @@ require "aggregate" # - X-Std-Dev - standard deviation of connection count # - X-Outliers-Low - number of low outliers (hopefully many for queued) # - X-Outliers-High - number of high outliers (hopefully zero for queued) +# - X-Current - current number of connections +# - X-First-Peak-At - date of when X-Max was first reached +# - X-Last-Peak-At - date of when X-Max was last reached # # = Demo Server # --- I've deployed the relevant changes to http://raindrops-demo.bogomips.org/ (commit 360b8569cbb2b795019db278463245cce4270d09) raindrops.git is available from: git://bogomips.org/raindrops.git -- Eric Wong