[Asterisk-code-review] res_statsd: replace meter type with counter (asterisk[16])

Joshua Colp asteriskteam at digium.com
Thu Jul 8 05:12:48 CDT 2021


Attention is currently required from: Rijnhard Hessel.
Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/16149 )

Change subject: res_statsd: replace meter type with counter
......................................................................


Patch Set 2:

(2 comments)

File include/asterisk/statsd.h:

https://gerrit.asterisk.org/c/asterisk/+/16149/comment/ceaf238c_fec0e9ec 
PS1, Line 44: /*! Events over time. Sorta like increment-only counters. */
> "Metric types are non-standard and poorly supported by StatsD servers" […]
Yes.


File res/res_chan_stats.c:

https://gerrit.asterisk.org/c/asterisk/+/16149/comment/0ed0083f_9e2c0bf7 
PS1, Line 76: 		ast_statsd_log(ast_str_buffer(metric), AST_STATSD_COUNTER, 1);
> it depends on the statsd server involved, which makes it complicated. […]
We should avoid breaking existing functionality, for even a subset of users, if at all possible.

I don't know statsd at all so I can only speak in general policy perspective.



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16149
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I5fcb385983a1b88f03696ff30a26b55c546a1dd7
Gerrit-Change-Number: 16149
Gerrit-PatchSet: 2
Gerrit-Owner: Rijnhard Hessel <rijnhard at teleforge.co.za>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Rijnhard Hessel <rijnhard at teleforge.co.za>
Gerrit-Comment-Date: Thu, 08 Jul 2021 10:12:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Joshua Colp <jcolp at sangoma.com>
Comment-In-Reply-To: Rijnhard Hessel <rijnhard at teleforge.co.za>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210708/99dec0b4/attachment-0001.html>


More information about the asterisk-code-review mailing list