Commit graph

22 commits

Author SHA1 Message Date
Andrew Rabert
ad19d64911 Use native async
Also remove a test that isn't that useful
2018-12-14 11:22:38 -05:00
Andrew Rabert
8cc566acfd Reorganize and update reqs 2018-12-13 17:34:21 -05:00
Andrew Rabert
567b408c29 Drop InfluxDB - use sprockets-influxdb 2018-12-13 17:34:07 -05:00
Dan g
dc57f5c5d1 Added statsd tests for 100% coverage, upgraded coverage pkg and conf 2018-08-03 10:56:14 -04:00
Dan g
6176ab654d - add non-blocking sleep to reconnect
- catch iostream.StreamClosedError
- short circuit write on a closed tcp stream
- flake8 formatting
2018-08-02 10:22:30 -04:00
Dan g
5599e9f73b Set format strings ass attributes, update tests 2018-07-27 13:51:02 -04:00
Dan g
6fd2cf4035 MOBILE-9220 added newline to tcp messages, added tests 2018-07-27 10:14:32 -04:00
Dan g
df76061eec fix docstring and flake8 2018-07-18 15:01:06 -04:00
Dan g
7b7010b0a2 Move logging out of try catch 2018-07-18 11:43:25 -04:00
Dan g
0fc46f82b4 Addressing code review 2018-07-18 11:05:27 -04:00
Dan g
48629e6a38 Adding TCP support for statsd 2018-07-17 17:01:32 -04:00
Andrew Rabert
a83d5ef771 Use get_status for status code 2017-03-24 14:47:50 -04:00
Ryan Mclean
6d98e9b806 Remove prepending host name 2016-12-08 15:48:32 -05:00
Ryan Mclean
af62789a96 Re-add code to replace periods with dashes 2016-08-02 17:33:00 -04:00
Ryan Mclean
41b18a6c92 Fix typos 2016-08-02 17:31:32 -04:00
Ryan Mclean
bf59e1f174 Add install for statsd mixin
* Add `install` usage pattern for using mixin within Tornado app
* Strip down mixin and add collector class to do actual metric recording
* Re-add path prefixes for metric type and hostname
* Add configuration parameters to disable type and hostname prefixes
2016-07-18 15:40:44 -04:00
Gavin M. Roy
b66e059811 Implement collector/periodic callback 2016-03-10 15:45:50 -05:00
Dave Shawley
81bfee6ec3 Expose set_metric_tag consistently.
Just a no-op on the statsd implementation.
2016-01-27 10:46:23 -05:00
Dave Shawley
db0723ad72 Switch durations from milliseconds to seconds. 2016-01-19 11:14:02 -05:00
Dave Shawley
3e056878a8 Add StatsdMixin.execution_timer. 2016-01-19 11:02:04 -05:00
Dave Shawley
6c903f4f40 Implement counters in StatsdMixin. 2016-01-19 11:01:01 -05:00
Dave Shawley
a125c4ddeb Implement timer metric in StatsdMixin. 2016-01-19 08:34:15 -05:00