]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_chan_stats: Fix bug to send correct statistics to StatsD 96/1796/1
authortcambron <tcambron@digium.com>
Wed, 9 Dec 2015 15:48:29 +0000 (09:48 -0600)
committerMark Michelson <mmichelson@digium.com>
Wed, 9 Dec 2015 21:57:35 +0000 (15:57 -0600)
commitcd119ed4a2a3e5efcae005bb8fa105ffd658582c
tree7e1df62f736eb5f1b967fd4dabecade2439623c5
parent142d4fefb8db0ac2c30b18f75dc415093fb77f27
res_chan_stats: Fix bug to send correct statistics to StatsD

Fixed a bug that originally would show a negative number of
active calls occuring in Asterisk. A gauge is persistent so
incrementing and decrementing it results in a more consistent
performance. Also changed to the call to StatsD to use
ast_statsd_log_string() so that a "+" could be sent to StatsD.

ASTERISK-25619 #close

Change-Id: Iaaeff5c4c6a46535366b4d16ea0ed0ee75ab2ee7
res/res_chan_stats.c