def post(self): for stat_line in request.data.split(): stat, value = stat_line.split(":") statsd_client._send_stat("client.{}".format(stat), value, 1) return "OK."
def post(self): for stat_line in request.data.split(): stat, value = stat_line.split(':') statsd_client._send_stat('client.{}'.format(stat), value, 1) return "OK."