pcp
[Top] [All Lists]

Re: [pcp] Trying out ElasticSearch PMDA for the first time

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Trying out ElasticSearch PMDA for the first time
From: Paul Smith <psmith@xxxxxxxxxx>
Date: Wed, 8 Apr 2015 09:21:58 +1000
Cc: chandana@xxxxxxxxxxxxx, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <882410516.13878102.1428446368567.JavaMail.zimbra@xxxxxxxxxx>
References: <1427957070.8765.30.camel@xxxxxxxxxxxxx> <1446889888.13182385.1428377259368.JavaMail.zimbra@xxxxxxxxxx> <1428383139.24854.1.camel@xxxxxxxxxxxxx> <882410516.13878102.1428446368567.JavaMail.zimbra@xxxxxxxxxx>
Hi, almost certain the current PMDA won't work with the later version of ES. The PMDA currently works with 0.19 and 0.20 I think of ES, but that is so ancient now, I suspect many of the URL endpoints are gone or different.

The 'good' news is that the current version of ES has a very nice simple _cat API (see [1]) that would be a more useful (and simpler to parse) basis for a newer PMDA.  The bad news, we ain't using the new version yet so not currently able to upgrade the PMDA, so hoping for some community support there.. 

cheers,

Paul


On 8 Apr 2015, at 8:39 am, Nathan Scott <nathans@xxxxxxxxxx> wrote:



----- Original Message -----
Hello Nathan,
Thanks for replying, and Happy Easter!


No problem, and thanks!

SIGHUP did not help, and the http query to localhost:9020 returns
instantly

Hmm.  So, the PMDA is supposed to be doing simple http requests just
like your curl.  We'll need to figure out where that big latency is
coming from - can you try the attached patch and see what extra info
appears in the log?  This should help us trace it back to a specific
query.

It also adds in use of Kens recent more-rapid-er pmcd connection API,
so we should certainly see some kind of behaviour change here - with
any luck, for the better. :)  (but it wont fix the underlying issue;
need the extra elasticsearch.log diagnostics to discover which query
is slow - assuming it is one of the http queries)

cheers.

--
Nathan
<es.patch>_______________________________________________
pcp mailing list
pcp@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/pcp

<Prev in Thread] Current Thread [Next in Thread>