statsd.raw¶
-
class
statsd.raw.
Raw
(name, connection=None)[source]¶ Class to implement a statsd raw message. If a service has already summarized its own data for e.g. inspection purposes, use this summarized data to send to a statsd that has the raw patch, and this data will be sent to graphite pretty much unchanged.
See https://github.com/chuyskywalker/statsd/blob/master/README.md for more info.
>>> raw = Raw('test') >>> raw.send('name', 12435) True >>> import time >>> raw.send('name', 12435, time.time()) True