diff --git a/notifications_utils/clients/statsd/statsd_client.py b/notifications_utils/clients/statsd/statsd_client.py index 2f53dcd1..a0f3fa14 100644 --- a/notifications_utils/clients/statsd/statsd_client.py +++ b/notifications_utils/clients/statsd/statsd_client.py @@ -49,11 +49,12 @@ def gauge(self, stat, count): self.statsd_client.gauge(self.format_stat_name(stat), count) def histogram(self, stat, value, rate=1): - """This is a DataDog specific method, which sends a histogram value to statsd. A statsd packet - is a packet with this format - :||@. + """Histogram is a DataDog specific metric type, which we've added here to our statsd client. StatsD packets + are strings with this format - :||@. For a histogram, the metric type is 'h'. - reference: https://github.com/DataDog/datadogpy/blob/master/datadog/dogstatsd/base.py#L950 + statsd _send_stat reference: https://github.com/jsocol/pystatsd/blob/master/statsd/client/base.py#L60 + dogstasd histogram reference: https://github.com/DataDog/datadogpy/blob/master/datadog/dogstatsd/base.py#L950 """ if self.active: self.statsd_client._send_stat(self.format_stat_name(stat), '%s|h' % value, rate) diff --git a/notifications_utils/version.py b/notifications_utils/version.py index 83b6ab02..3db1b9fe 100644 --- a/notifications_utils/version.py +++ b/notifications_utils/version.py @@ -1 +1 @@ -__version__ = '2.2.4' +__version__ = '2.2.5'