pcp
[Top] [All Lists]

Re: [pcp] Valid metric names

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Valid metric names
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 19 Mar 2015 20:32:10 +1100
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <195841727.8326055.1426652263752.JavaMail.zimbra@xxxxxxxxxx>
References: <550848E7.4040800@xxxxxxxxxxx> <195841727.8326055.1426652263752.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
On 18/03/15 15:17, Nathan Scott wrote:
...
The one area I know of is pmie(1) - minus and equals are tokens in the
pmie language, so it will split these metrics names into multiple, eg
"foo.bar-mumble.fratz" would indicate subtraction between two different
metrics.

I think there are other places ...

pmLoadNameSpace() would fail
derived metrics would be out to lunch like pmie
pmlogger's config file parser would likely fail
pmchart's config file parser would likely fail
and : / and [ are all special for metric specifications
...

I think some systemic name mangling service might be required.

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