pcp
[Top] [All Lists]

Re: pmie support for string-typed metrics

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: pmie support for string-typed metrics
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 13 Apr 2016 22:31:03 -0400 (EDT)
Cc: Lukas Berk <lberk@xxxxxxxxxx>, Mark Goodwin <mgoodwin@xxxxxxxxxx>, Dave Brolley <brolley@xxxxxxxxxx>, PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <a54a13c7-4824-499c-8fa6-232cbd33ffaf.maildroid@localhost>
References: <220069218.39805602.1460521052029.JavaMail.zimbra@xxxxxxxxxx> <733731954.39808417.1460522806449.JavaMail.zimbra@xxxxxxxxxx> <a54a13c7-4824-499c-8fa6-232cbd33ffaf.maildroid@localhost>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: SHzuTy9idVNQeW5o2moELPhnOFMmBw==
Thread-topic: pmie support for string-typed metrics
Hi Ken,

----- Original Message -----
> From darkest Tibet ... well snowing and cold rather than dark.

Good to hear from you!

> pmie could be taught to grok string valued expressions  ... it would be a big
> change in a lot of code that is tricky and a little brittle, but certainly
> feasible.

OK.

> I'd probably start by outlawing all the arithmetic functions (avg, sum) and
> the relational operators (<, <=, >= and >) to avoid locale issues with
> lexicographic order which takes out the min and max functions as well.
> 
> Even with these restrictions I think your use cases could all be handled.

Excellent.

> If you can wait, I'll look in more earnest after I get back home in early
> May.

Yes, it can certainly wait - thanks!

cheers.

--
Nathan

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