| To: | Mark Goodwin <mgoodwin@xxxxxxxxxx> |
|---|---|
| Subject: | Re: patch/RFC - install global derived metrics dir and configs |
| From: | fche@xxxxxxxxxx (Frank Ch. Eigler) |
| Date: | Wed, 09 Mar 2016 11:48:29 -0500 |
| Cc: | Nathan Scott <nathans@xxxxxxxxxx>, pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <56DF7933.1030005@xxxxxxxxxx> (Mark Goodwin's message of "Wed, 9 Mar 2016 12:15:31 +1100") |
| References: | <56DD0704.3000800@xxxxxxxxxx> <1562841800.28672134.1457396071684.JavaMail.zimbra@xxxxxxxxxx> <56DF6209.9040905@xxxxxxxxxx> <302778934.28941768.1457480717032.JavaMail.zimbra@xxxxxxxxxx> <56DF7933.1030005@xxxxxxxxxx> |
| User-agent: | Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
mgoodwin wrote: > [...] So I'm proposing to add the above putenv call to > __pmEndOptions() so that global derived metrics will be loaded by > default for all client tools (but not overriding $PCP_DERIVED_CONFIG > if it's already set). This is a libpcp change, but not an API > change. [...] That will only affect those tools that opt into the *Options machinery. If the goal is to let apprx all tools take advantage of a systemwide default library of derived metrics, why not do that directly? For example, set a default PCP_DERIVED_CONFIG=/etc/pcp/derived.d/ via pcp.conf or libpcp, and just do load it every time, the same way as the recent changes did for the event.flags / event.missed anonymous metrics? - FChE |
| Previous by Date: | Re: pcp updates: multi-archive qa fixups, Dave Brolley |
|---|---|
| Next by Date: | Re: PCP JMX PMDA, Marko Myllynen |
| Previous by Thread: | Re: [pcp] patch/RFC - install global derived metrics dir and configs, Mark Goodwin |
| Next by Thread: | Re: patch/RFC - install global derived metrics dir and configs, Mark Goodwin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |