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
This commit is contained in:
Rijnhard Hessel
2021-07-08 14:34:27 +02:00
committed by Friendly Automation
parent feb1e06ac5
commit 71dd1d91ad
4 changed files with 28 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
Subject: Handle non-standard Meter metric type safely
A meter_support flag has been introduced that defaults to true to maintain current behaviour.
If disabled, a counter metric type will be used instead wherever a meter metric type was used,
the counter will have a "_meter" suffix appended to the metric name.