Commit graph

88 commits

Author SHA1 Message Date
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
6414edf5ab import correct patch for py2 compatibility 2018-07-31 15:16:33 -04:00
Dan g
03ba3b7125 replace list dereferencing with itertools.chain for py2 2018-07-31 14:52:46 -04:00
Dan g
924735c24e Add tcp & udp tests for data sent 2018-07-31 14:27:16 -04:00
Dan g
b24a3699a5 Fakeserver check for \n in tcp stream, const name changed to TCP_PATTERN 2018-07-27 16:28:02 -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
b5d1cae249 set protocal with str 'protocol' as per code review 2018-07-19 16:40:59 -04:00
Dan g
ce352daf0e Combine TCP & UDP server code into 1 class to prevent breaking changes
Updated tests to use the single class
2018-07-19 16:03:56 -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
dave-shawley
cbaf1b657f
Merge pull request #24 from ibnpaul/update-tornado-pin
Loosen Tornado pin to include 4.4
2018-01-31 16:47:13 -05:00
Robin Klingsberg
b450a9b62b Loosen Tornado pin to include 4.4 2018-01-31 16:44:10 -05:00
dave-shawley
fe0ba5360c Merge pull request #23 from nvllsvm/master
Use get_status to retrieve status code
2017-03-30 16:42:05 -04:00
Andrew Rabert
3a76abc101 Version 3.0.3 2017-03-24 14:51:09 -04:00
Andrew Rabert
a83d5ef771 Use get_status for status code 2017-03-24 14:47:50 -04:00
Ryan Mclean
e470d5ca53 Fix influxdb test that fails intermittently 2016-12-12 15:21:52 -05:00
Ryan Mclean
40e50a337f Add README.rst to MANIFEST 2016-12-12 15:07:17 -05:00
Ryan Mclean
ffbb61ee61 Bump version 2.1.1 -> 3.0.0 2016-12-12 13:30:56 -05:00
Brian Korty
603e8dd46a Merge pull request #18 from sprockets/add-statsd-install
Add install for statsd mixin
2016-12-12 13:15:36 -05:00
Ryan Mclean
6d98e9b806 Remove prepending host name 2016-12-08 15:48:32 -05:00
dave-shawley
f11a647fe4 Merge pull request #22 from sprockets/influx-url-fixes
Add INFLUX_SCHEME to the URL creation
2016-08-09 15:38:23 -04:00
Gavin M. Roy
761b4b92f3 Add INFLUX_SCHEME to the default URL 2016-08-09 15:31:53 -04:00
Gavin M. Roy
2204e08bf0 Fix the release date 2016-08-09 13:53:31 -04:00
dave-shawley
d5bc246f1a Merge pull request #20 from sprockets/influxdb-auth
Add authentication support for InfluxDB
2016-08-09 13:28:16 -04:00
Gavin M. Roy
56caca7c46 Add authentication support for InfluxDB 2016-08-02 17:45:35 -04:00
Ryan Mclean
1fb1f46bc1 Use ephemeral port in tests for statsd 2016-08-02 17:41:32 -04: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
9835e4b04e Update README 2016-07-18 16:49:40 -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
Ryan Mclean
cfb9157387 Merge pull request #17 from sprockets/fix-adding-tags-in-initialize
Fix adding tags in initialize
2016-03-21 11:57:08 -04:00
Dave Shawley
35d7364cea Metadata bumps for 2.0.1. 2016-03-21 11:16:39 -04:00
Dave Shawley
c501d0225d api.rst: Fallout from removing top-level exports. 2016-03-21 11:15:50 -04:00
Dave Shawley
471adf5cb7 InfluxDBMixin: Move call to super.__init__.
`tornado.web.RequestHandler.__init__` calls
`tornado.web.RequestHandler.initialize` to initialize the object.
Sub-classes should be able to call our methods to tag metrics in
their `initialize` implementations.  For this to work we need to
set our internal attributes *BEFORE* we call `super.__init__`.
2016-03-21 11:15:05 -04:00
dave-shawley
c11ba26790 Merge pull request #16 from sprockets/release-2.0.0
Mention 2.0.0 in the changelog.
2016-03-11 09:57:08 -05:00
Dave Shawley
2396fbdb66 Mention 2.0.0 in the changelog. 2016-03-11 09:33:53 -05:00
Ryan Mclean
29ab41a1ee Merge pull request #15 from sprockets/refactor
Implement collector/periodic callback
2016-03-11 07:21:43 -05:00
Gavin M. Roy
c5734a1f69 Whoops 2016-03-10 17:37:54 -05:00
Gavin M. Roy
9ac286bf65 Pass the IOLoop into the HTTPClient 2016-03-10 17:15:35 -05:00
Gavin M. Roy
167fe7af46 Fix the double import in the README 2016-03-10 17:13:07 -05:00
Gavin M. Roy
b66e059811 Implement collector/periodic callback 2016-03-10 15:45:50 -05:00
Brian Korty
8aa35ba43f Merge pull request #14 from sprockets/fix-support-issue
Fix python 2.6 support issue for packaging
2016-03-09 14:34:20 -05:00
Ryan Mclean
a27f2976da Fix python 2.6 support issue for packaging 2016-03-09 14:30:25 -05:00
Brian Korty
79781e1b1e Merge pull request #13 from sprockets/bump-version
Bump version -> 1.1.0
2016-03-09 13:17:24 -05:00
Ryan Mclean
ca7ed9c846 Bump version -> 1.1.0
Add setting options to README
2016-03-09 13:12:24 -05:00
dave-shawley
e8dea1517a Merge pull request #12 from sprockets/batch-influx-writes
Update InfluxDB connection class to handle batch submits
2016-03-08 17:14:34 -05:00
Ryan Mclean
07f909f2a2 Update InfluxDB connection class to handle batch submits 2016-03-08 16:17:53 -05:00