| To: | Marko Myllynen <myllynen@xxxxxxxxxx>, David Smith <dsmith@xxxxxxxxxx> |
|---|---|
| Subject: | Re: JSON PMDA (was Re: [pcp] PCP JMX PMDA) |
| From: | Nathan Scott <nathans@xxxxxxxxxx> |
| Date: | Tue, 26 Apr 2016 02:41:23 -0400 (EDT) |
| Cc: | pcp developers <pcp@xxxxxxxxxxx> |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <571F0AFA.3080005@xxxxxxxxxx> |
| References: | <56D8858A.3020407@xxxxxxxxxx> <570AD655.7020108@xxxxxxxxxx> <1799198159.39292885.1460350959108.JavaMail.zimbra@xxxxxxxxxx> <570BC712.1080905@xxxxxxxxxx> <880763790.39521507.1460426029264.JavaMail.zimbra@xxxxxxxxxx> <5710CC97.5020209@xxxxxxxxxx> <571E4C9D.2070708@xxxxxxxxxx> <571F0AFA.3080005@xxxxxxxxxx> |
| Reply-to: | Nathan Scott <nathans@xxxxxxxxxx> |
| Thread-index: | W48hMaKJMFWY++Xc6g8TasS/Jq/5oA== |
| Thread-topic: | JSON PMDA (was Re: [pcp] PCP JMX PMDA) |
Hi guys, ----- Original Message ----- > [...] > >> * metadata.json updates are not picked up during JSON PMDA lifetime > > > > Yes, that is true. As far as I know, that's fairly standard for PMDAs, > > especially python ones. > > Ok, Nathan mentioned earlier that the Python PMDA API was extended to > allow adding metrics dynamically so if metadata.json updates are not > picked up then on the fly then perhaps he meant something else. I was referring to all the work David did to allow metrics to be defined dynamically for python PMDAs (i.e. such that add_metric() can be called after the PMDA enters its run() routine ... see commit ddfdbf144982bb1). I'm a little surprised its not more dynamic than it is. MMV handles the dynamic addition and removal of metrics, and I thought pmdajson did that too - apologies, my mistake there (I'd assumed this would be needed/used for the systemtap support?). It is indeed relatively uncommon though as David says, to have that level of flexibility in any PMDA. cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: JSON PMDA (was Re: [pcp] PCP JMX PMDA), Marko Myllynen |
|---|---|
| Next by Date: | Re: [pcp] Hello Community, Ryan Doyle |
| Previous by Thread: | Re: JSON PMDA (was Re: [pcp] PCP JMX PMDA), Marko Myllynen |
| Next by Thread: | Re: JSON PMDA (was Re: [pcp] PCP JMX PMDA), David Smith |
| Indexes: | [Date] [Thread] [Top] [All Lists] |