]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_statsd: handle non-standard meter type safely
authorRijnhard Hessel <rijnhard@teleforge.co.za>
Thu, 8 Jul 2021 12:34:27 +0000 (14:34 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 3 Aug 2021 13:15:29 +0000 (08:15 -0500)
commitf13eef719c118d8d1640fee764c91ba0476aa5ec
tree5f115b03ce75c6018362fe67635bd53c19defb5e
parent382143e58eb4b2f4856a6e95361d08f02fdd33f9
res_statsd: handle non-standard meter type safely

Meter types are not well supported,
lacking support in telegraf, datadog and the official statsd servers.
We deprecate meters and provide a compliant fallback for any existing usages.

A flag has been introduced to allow meters to fallback to counters.

ASTERISK-29513

Change-Id: I5fcb385983a1b88f03696ff30a26b55c546a1dd7
configs/samples/statsd.conf.sample
doc/CHANGES-staging/res_statsd.txt [new file with mode: 0644]
include/asterisk/statsd.h
res/res_statsd.c