| To: | Nathan Scott <nathans@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] elasticsearch PMDA question |
| From: | Alec Ten Harmsel <alec@xxxxxxxxxxxxxxxxxx> |
| Date: | Wed, 16 Mar 2016 10:39:50 -0400 |
| Cc: | pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=YwszD5pPBdBYeEH4ZlAj5xDLEww=; b=WzEDV rOuRI8pfAMKRAlfAYuEoXZJ1oOlu8iaL88cqdbZv8dCtV2kRirv3KEDw2ccnbyHF gwVuuR/frcPOtdzigh7ol8xxCGkX+0+QxNtJqbhA/oZmMrjTT/uBjE+/HmqFZwxs ZIwPAPiR5OyUGsmz9R4+1yns1Ek1U5a3AB+cLI= |
| In-reply-to: | <366483517.30931865.1458077465390.JavaMail.zimbra@xxxxxxxxxx> |
| References: | <20160314141105.GA1513@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <941490186.30277739.1457987906285.JavaMail.zimbra@xxxxxxxxxx> <20160314212939.GA4200@greenbeast> <659848817.30294126.1457992411353.JavaMail.zimbra@xxxxxxxxxx> <20160315164834.GA4224@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <366483517.30931865.1458077465390.JavaMail.zimbra@xxxxxxxxxx> |
| User-agent: | Mutt/1.5.24 (2015-08-30) |
On Tue, Mar 15, 2016 at 05:31:05PM -0400, Nathan Scott wrote: > > > ----- Original Message ----- > > On Mon, Mar 14, 2016 at 05:53:31PM -0400, Nathan Scott wrote: > > > ----- Original Message ----- > > > > [...] > > > > I see that a configuration file PCP_PMDAS_DIR/elasticsearch/es.conf is > > > > parsed by the PMDA. I was thinking that it would be possible to add a > > > > new variable, something like $all_node_stats. It would default to false, > > > > so only metrics from localhost would be fetched. It could be set true by > > > > that configuration file. > > > > > > Good solution, that'd work well. > > > > I am planning on doing this unless you say otherwise. I like the > > approach you're suggesting, but I don't want to break > > backwards-compatibility unless I'm explicitly told that it's OK. > > Yep, good call - go for it. Thanks Alec. > Patch attached below. It's been tested with ES 1.7.4 with the new variable, $all_node_stats, set to 0 and to 1. Default is 0. The removal of "?all" from the URL does not change behavior at all. Thanks for all the guidance. Alec
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] QA Status, Ken McDonell |
|---|---|
| Next by Date: | PCP Updates: kenj qa, Dave Brolley |
| Previous by Thread: | Re: [pcp] elasticsearch PMDA question, Nathan Scott |
| Next by Thread: | Re: [pcp] elasticsearch PMDA question, Alec Ten Harmsel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |