<p> Attention is currently required from: Joshua Colp. </p>
<p><a href="https://gerrit.asterisk.org/c/asterisk/+/16149">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">File include/asterisk/statsd.h:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/16149/comment/82c6ebbc_4dc99754">Patch Set #1, Line 44:</a> <code style="font-family:monospace,monospace">/*! Events over time. Sorta like increment-only counters. */</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">This is a publicly defined API. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">"Metric types are non-standard and poorly supported by StatsD servers"<br>would you like this in the code?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="null">File res/res_chan_stats.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/16149/comment/3edd335f_b6c7e5da">Patch Set #1, Line 76:</a> <code style="font-family:monospace,monospace">            ast_statsd_log(ast_str_buffer(metric), AST_STATSD_COUNTER, 1);</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">What impact does this have to any potential existing users?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">it depends on the statsd server involved, which makes it complicated.<br>The safest is to assume that it is a breaking change.<br>And the safest would actually be to change the metric name, to avoid one key being used for two different types (which is usually where things become a problem), so what I can do is just suffix these stats with "_meter" to avoid that.</p><p style="white-space: pre-wrap; word-wrap: break-word;">this would also make it somewhat safe for BC, the only catch is any server that did actually support the metric type will suddenly have a stat that doesn't work anymore, but the change will be trivial.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16149">change 16149</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/16149"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I5fcb385983a1b88f03696ff30a26b55c546a1dd7 </div>
<div style="display:none"> Gerrit-Change-Number: 16149 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Rijnhard Hessel <rijnhard@teleforge.co.za> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 08 Jul 2021 10:09:04 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>