<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">  I have an initial design proposal on how to convert from a value_list_t format to the new, single data source metrics_t format for metrics at <a href="https://docs.google.com/document/d/1B4drbdkPoXvMFrBx57cnKtDgeehQ1zkptq9Ozx7MnG8/edit?usp=sharing">https://docs.google.com/document/d/1B4drbdkPoXvMFrBx57cnKtDgeehQ1zkptq9Ozx7MnG8/edit?usp=sharing</a></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">  Comments appreciated.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">  Manoj</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 30, 2019 at 12:03 PM Manoj Srivastava <<a href="mailto:manoj.srivastava.1962@gmail.com">manoj.srivastava.1962@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">    <span style="font-family:Arial,Helvetica,sans-serif">I have an initial stalking horse commit based on the 5.9 branch that implements the data structures in the design docs, and has unit tests to the avl tree used in the structures. I think we need some discussion on how to convert the current value_list_t 5-tupples --> name + labels structure in the new format. Also, how should we deal with metadata lists in the new format?</span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">  I'll try and put together the design thoughts in a document and share that around, and perhaps a code snippet or two t go along with it.</span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:monospace,monospace"><span style="font-family:Arial,Helvetica,sans-serif">   Manoj</span></div><div><br></div><div class="gmail_default" style="font-family:monospace,monospace">New basic data structures and start of branch:</div><a href="https://github.com/srivasta/collectd/tree/metric-label-support" target="_blank">https://github.com/srivasta/collectd/tree/metric-label-support</a><div><br></div><div><div class="gmail_default" style="font-family:monospace,monospace"></div><div class="gmail_default" style="font-family:monospace,monospace">Adding Labels to Collectd Metrics<br></div><div class="gmail_default" style="font-family:monospace,monospace"><a href="https://docs.google.com/document/d/173gGP3tUD3yfN2NNHxCv0BsKsacfDlSyoaQIn7MqLtQ/edit?usp=sharing" target="_blank">https://docs.google.com/document/d/173gGP3tUD3yfN2NNHxCv0BsKsacfDlSyoaQIn7MqLtQ/edit?usp=sharing</a><br></div><div class="gmail_default" style="font-family:monospace,monospace"></div><div class="gmail_default" style="font-family:monospace,monospace">Compare data structures for metric labels (collectd) </div><div><a href="https://docs.google.com/document/d/1RZ7YAO6lWcDDvevzxFGVDgv4UQpdgWoT7OCP9Vpb2CU/edit?usp=sharing" target="_blank">https://docs.google.com/document/d/1RZ7YAO6lWcDDvevzxFGVDgv4UQpdgWoT7OCP9Vpb2CU/edit?usp=sharing</a><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><font face="monospace, monospace">The Basis of the Universe Isn’t Matter or Energy—It’s Data</font></div><div><font face="monospace, monospace">Manoj Srivastava <<a href="mailto:srivasta@golden-gryphon.com" target="_blank">srivasta@golden-gryphon.com</a>></font></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font face="monospace, monospace">The Basis of the Universe Isn’t Matter or Energy—It’s Data</font></div><div><font face="monospace, monospace">Manoj Srivastava <<a href="mailto:srivasta@golden-gryphon.com" target="_blank">srivasta@golden-gryphon.com</a>></font></div></div></div></div></div>