pcp
[Top] [All Lists]

Re: [pcp] PMDA with 2 levels of inst

To: "Mahmoud Hanafi (ARC-TN)[Computer Sciences Corporation]" <mahmoud.hanafi@xxxxxxxx>
Subject: Re: [pcp] PMDA with 2 levels of inst
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 3 May 2016 19:31:41 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <4EDFB2F771213E4995CA22F2E5898CB21399F279@xxxxxxxxxxxxxxxxxxxxxxx>
References: <4EDFB2F771213E4995CA22F2E5898CB21399F279@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: AdGlcIkWQOOm9hJcSEe7FkjUZYMez8S+JzUB
Thread-topic: PMDA with 2 levels of inst
Hi Mahmoud,

----- Original Message -----
> 
> How to program pmda with more than 1 level of inst like this.
> [...]

The usual approach is to use a separator character in a single
instance domain.  Usually the '/' character, but if that already
is significant for the domain, then '::' is sometimes also used.

In your example you might use something like

lustre.jobstats.ost.open[instA/jobid1]
lustre.jobstats.ost.open[instA/jobid2]
lustre.jobstats.ost.open[instB/jobid1]
lustre.jobstats.ost.open[instB/jobid2]

The "cgroup.blkio.dev" metrics are an example of the '::' case.

cheers.

--
Nathan

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