Dave Shawley
c4c44f9864
Add support for UDP sockets.
2021-03-23 07:57:32 -04:00
Dave Shawley
38a5e3f566
Refactor to pull out TCP details.
...
This will make it easier to add the UDP protocol.
2021-03-23 07:57:32 -04:00
Dave Shawley
28e369c122
Make timeout parameters configurable.
2021-03-11 07:31:24 -05:00
Dave Shawley
65b5bacbee
Reorder logic to emphasize common paths.
...
I snuck in a call to verify that the connected event is set before the
call to _process_metric. This closes a small loophole where the
transport could be None inside of _process_metric.
2021-03-11 07:03:18 -05:00
Dave Shawley
720dd79193
Add Application & RequestHandler mixins.
2021-03-10 06:46:06 -05:00
Dave Shawley
0d5b212efc
Add docs, rename a few things.
2021-03-08 07:36:33 -05:00
Dave Shawley
ed6e479e2a
Make statsd metric sending resilient.
2021-03-08 07:36:32 -05:00
Dave Shawley
ff6f13591c
Send metrics asynchronously.
2021-03-08 07:36:32 -05:00
Dave Shawley
9febb7e7e8
statsd.Processor that reconnects.
2021-03-08 07:36:32 -05:00