Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B5D317937 for ; Sun, 1 Mar 2015 23:07:14 +0000 (UTC) Received: (qmail 93094 invoked by uid 500); 1 Mar 2015 23:07:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 93037 invoked by uid 500); 1 Mar 2015 23:07:14 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 93025 invoked by uid 99); 1 Mar 2015 23:07:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Mar 2015 23:07:13 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tbain98@gmail.com designates 209.85.223.179 as permitted sender) Received: from [209.85.223.179] (HELO mail-ie0-f179.google.com) (209.85.223.179) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Mar 2015 23:07:09 +0000 Received: by ierx19 with SMTP id x19so43653538ier.3 for ; Sun, 01 Mar 2015 15:06:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=SihFS4GGEjnzJyp2Y9/aeEQfDPtXZ3Y6RkuBme5kHCk=; b=gtHXQBsHm0/+CpORRwTaZBKyv0AndlvcVj6fyEXGAlB3rSejdbCWmXR6zBFidspWI5 D0kTyVru1uOWUH7/iAS7MpT2rm7DgtBxSXEqZf7qXQrJi7czwkif5O+/6mszbBKap6uQ 1RTkD+4LoDx5R4T0e2+JCpOAJ/SYzgi9lH5qiiJsLKLiUpOrIv3SeuiIK71Ktb/VfN71 lRg99n92p83s05O0UkMeCam/Hzq20V82Kqhv7Ogg1nxtJ3ZQidXCCPJfij1LjlNwb7SI SzDV2AAwUSaIZAiGqH01Y1Nom4FNP+sfFQ4teu+qukPyY7zchYEDEee+3olB4xQz8NKu k+Ww== X-Received: by 10.50.93.70 with SMTP id cs6mr17274807igb.6.1425251164214; Sun, 01 Mar 2015 15:06:04 -0800 (PST) MIME-Version: 1.0 Sender: tbain98@gmail.com Received: by 10.50.235.34 with HTTP; Sun, 1 Mar 2015 15:05:43 -0800 (PST) In-Reply-To: References: From: Tim Bain Date: Sun, 1 Mar 2015 16:05:43 -0700 X-Google-Sender-Auth: waspNAG7R16F9FJOwheU1xjoeC0 Message-ID: Subject: Re: Simple JMX metric for the number of slow consumers? To: ActiveMQ Users Content-Type: multipart/alternative; boundary=047d7b41444c5bdc5605104225d6 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b41444c5bdc5605104225d6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Are you talking about message expiration? Or do you have another definition for message eviction that I'm not thinking of? On Sun, Mar 1, 2015 at 3:24 PM, Kevin Burton wrote: > Does the same apply to evictions? > > If I have messages begin evicted by ActiveMQ I definitely want to know it= ! > :) > > > > On Sun, Mar 1, 2015 at 2:07 PM, Kevin Burton wrote: > > > Cool! > > > > I think broker level at a minimum but I imagine having both on the > > destination level would be good too. > > > > https://issues.apache.org/jira/browse/AMQ-5624 > > > > > > > > On Sun, Mar 1, 2015 at 1:59 PM, Tim Bain wrote: > > > >> This sounds like a useful feature; submit an Enhancement in JIRA for > it... > >> > >> Were you looking for a broker-level count (count of slow consumers on > all > >> destinations) or a destination-level count? Or both? (Implementing > both > >> seems most useful to me, and not particularly hard to do.) > >> > >> Tim > >> > >> > >> > >> On Sun, Mar 1, 2015 at 2:35 PM, Kevin Burton > wrote: > >> > >> > According to this: > >> > > >> > http://activemq.apache.org/jmx.html > >> > > >> > There are no simple metrics for the number of slow consumers. > >> > > >> > Is there an easy way to figure this out? > >> > > >> > Would be nice for monitoring systems so that alerts can be triggered= . > >> > > >> > Right now you have to enumerate each subscriber but it takes 200ms f= or > >> each > >> > one so it could take a rather long time. > >> > > >> > Plus, it=E2=80=99s better to have something O(1) for monitoring syst= ems vs > >> > something O(N) which might take a rather long time. > >> > -- > >> > > >> > Founder/CEO Spinn3r.com > >> > Location: *San Francisco, CA* > >> > blog: http://burtonator.wordpress.com > >> > =E2=80=A6 or check out my Google+ profile > >> > > >> > > >> > > >> > > > > > > > > -- > > > > Founder/CEO Spinn3r.com > > Location: *San Francisco, CA* > > blog: http://burtonator.wordpress.com > > =E2=80=A6 or check out my Google+ profile > > > > > > > > > > > -- > > Founder/CEO Spinn3r.com > Location: *San Francisco, CA* > blog: http://burtonator.wordpress.com > =E2=80=A6 or check out my Google+ profile > > > --047d7b41444c5bdc5605104225d6--