<div dir="ltr">resending, forgot list<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 23, 2013 at 9:54 PM, Pierre-Yves Ritschard <span dir="ltr"><<a href="mailto:pyr@spootnik.org" target="_blank">pyr@spootnik.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The idea is to have a simple way of naming things, the identity of a metric will be defined by the keys in the attr section. <div>
To generate path names for graphite or rrd plugins, the write output plugin would look for special expected keys (source, metric). Input plugins could additionally hint at the way to format</div>
<div>their name, by specifying a list of keys to look up (e.g: format: [ "source", "cpu-type", "cpu-id"]).</div><div><br></div><div>This would actually make the metric names of such plugins as IPMI or GenericJMX much cleaner, especially with graphite since right now it's a mess of arbitrary length trees</div>
<div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Sep 23, 2013 at 9:45 PM, Poil <span dir="ltr"><<a href="mailto:poil@quake.fr" target="_blank">poil@quake.fr</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div text="#000000" bgcolor="#FFFFFF">
It's a good idea to change this naming schema.<br>
<br>
I like the first alternative "a path", really simple, and easy to
draw, group ...<br>
I don't understand how you can have a JSON object with
RRD/Filesystem, will you go on a only nosql storage ?<br>
<br>
If you use a path, types.db can be limited to derive/counter, the
labels can be in the path himself or in the filename, like this we
will not have to deploy it on all nodes when we need a new "type"<br>
<br>
Today I have to hack it for GenericJMX, Curl, some python code ...<br>
I'm using this
(<a href="https://github.com/Poil/CGraphz/wiki/CGraphz%20Naming%20Schema" target="_blank">https://github.com/Poil/CGraphz/wiki/CGraphz%20Naming%20Schema</a>) :<br>
<ul>
<li>host</li>
<li>plugin</li>
<li>plugin category (custom optional)</li>
<li>plugin instance (optional)</li>
<li>type</li>
<li>type category (custom optional)</li>
<li>type instance (optional) </li>
</ul>
PluginCategory is used to separate
GenericJMX|varnish|curl_json|curl|curl_xml|P2000|tcpconns<br>
TypeCategory is used to separate some customplugins
(GenericJMX|elasticsearch|P2000) <br>
<br>
Regards,<br>
<br>
<br>
<br>
</div>
<br></div></div><div class="im">_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div></div>