Commit graph

71 commits

Author SHA1 Message Date
Gavin M. Roy
fb171032f1 Bump release history 2019-11-14 18:45:01 -05:00
Gavin M. Roy
23b9456e0a Include Tornado 6 in the pin 2019-11-14 18:15:53 -05:00
Andrew Rabert
cce73481b8 Release version 2.2.0 2018-11-27 17:47:40 -05:00
Gavin M. Roy
14965b7b0c
Merge pull request #9 from nvllsvm/stable
Test with stable Python 3.7
2018-11-26 15:11:44 -05:00
Gavin M. Roy
5e8dbcdc50
Merge pull request #8 from nvllsvm/tornado5
Support Tornado 5.1
2018-11-26 15:11:16 -05:00
Andrew Rabert
7a5ba95da2 Test with stable Python 3.7
See https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-425720905
2018-11-21 23:40:51 -05:00
Andrew Rabert
89c98f8804 Support Tornado<6 2018-11-21 23:23:20 -05:00
Andrew Rabert
d9a1e83675 Always uses IOLoop.current() 2018-11-21 23:21:38 -05:00
Andrew Rabert
09a203df47 Replace deprecated TracebackFuture with Furture
TracebackFuture has been deprecated and aliased to Future since Tornado 4.0
8e07f3d865
2018-11-21 23:14:18 -05:00
Andrew Rabert
e692468d9c Support tornado<5 2018-11-21 23:10:36 -05:00
Andrew Rabert
b0decadd4f Update dependencies 2018-11-21 23:02:53 -05:00
Gavin M. Roy
0e6eb02b0f
Merge pull request #6 from nvllsvm/routing
Add support for Tornado >= 4.5
2018-11-21 20:58:56 -05:00
Gavin M. Roy
66fc155f57
Merge pull request #7 from nvllsvm/py
Add Py 3.6, 3.7; remove Py 3.4
2018-11-21 20:58:18 -05:00
Andrew Rabert
1a914d7b6f Add Py 3.6, 3.7; remove Py 3.4 2018-09-20 14:35:52 -04:00
Andrew Rabert
e9b8361935 Pin to tornado<4.5 2018-04-06 22:15:33 -04:00
Andrew Rabert
6619b0fbad Bump coverage pin 2018-04-06 22:15:22 -04:00
Andrew Rabert
6f4f792bf7 Remove download count badge 2018-04-06 21:52:04 -04:00
Andrew Rabert
95ae6b9454 Fix changelog 2018-04-06 21:51:52 -04:00
Andrew Rabert
b951e55f12 Use tox for testing different versions of Tornado 2018-01-23 00:48:15 -05:00
Andrew Rabert
662263e48d Add support for Tornado >= 4.5
Tornado 4.5 changed request routing in a breaking way. This adds support
for the new behavior while preserving existing behavior for older
versions of Tornado.
2018-01-23 00:45:30 -05:00
Gavin M. Roy
26ff5b3363 Fix table formatting 2017-04-10 14:52:08 -04:00
Gavin M. Roy
b3fd59da9b Fix the goofy test 2017-04-05 17:14:55 -04:00
Gavin M. Roy
fa2c2cbbd1 Update release history 2017-04-05 16:06:32 -04:00
amberheilman
22cf737e21 Merge pull request #4 from sprockets/sampling
Add batch submission probability
2017-04-05 14:49:01 -04:00
Gavin M. Roy
b94f14bd66 Add batch submission probability 2017-04-05 14:01:08 -04:00
dave-shawley
cb705b847c Merge pull request #2 from sprockets/2.0
Change batch submission logic
2016-11-09 16:12:41 -05:00
Gavin M. Roy
deba0752da Ensure the value is a float 2016-11-09 16:09:18 -05:00
Gavin M. Roy
a4c601d69b Update the docstring values for defaults in install 2016-11-09 15:53:26 -05:00
Gavin M. Roy
f671b7029c Change batch submission logic
- Submit batches serially while the count of buffered measurements exceed a configurable threshold (minimum triggered batch size). Batches can be larger than this value (maximum batch size)
- If the there are measurements in the buffer but the threshold is not met after N seconds (60 by default), submit a batch that is less than minimum triggered batch size.
- rename sprockets_influxdb.set_submission_interval to sprockets_influxdb.set_timeout
- Add new sprockets_influxdb.set_trigger_size
- Move from a single periodic callback object to adding a timeout to the ioloop
- Update tests to work with the new structure
- Add more detailed dubugging information
2016-11-09 15:50:27 -05:00
Gavin M. Roy
6d639b436d Documentation updates 2016-11-09 15:45:58 -05:00
Gavin M. Roy
9eb3f2fcfd Loosen the Tornado pin 2016-11-09 15:45:50 -05:00
Gavin M. Roy
340ede84ba Include coverage and increase verbosity when testing 2016-11-09 15:45:41 -05:00
Gavin M. Roy
7a5015d598 Ensure wheel is installed 2016-11-09 15:45:20 -05:00
Gavin M. Roy
7405312a5e Make tagging the hostname optional 2016-10-13 21:13:49 -04:00
Gavin M. Roy
f6a9b2071a Actually drop the metric when not enabled 2016-10-13 19:42:51 -04:00
Gavin M. Roy
b7ada3911c Change logging level when not enabled 2016-10-13 19:24:34 -04:00
Gavin M. Roy
61bcc691e8 Remove the correlation-id assertion 2016-10-13 18:53:45 -04:00
Gavin M. Roy
ac7d886f11 Add some controls for operational tuning
- Add a flag to disable submission
- Add more environment variables for configuration
- Add a maximum buffer size that discards metrics when there are too many
- Remove correlation-id fields
2016-10-13 18:52:17 -04:00
Gavin M. Roy
3eea44dfef Allow a measurement timestamp to be externally set 2016-09-26 14:46:53 -04:00
Gavin M. Roy
4548295995 Python 2.7 compatibility 2016-09-23 11:40:23 -04:00
Gavin M. Roy
ead27c3942 Submit measurements one at a time for a rejected batch
Better edge case exception handling
2016-09-23 11:32:28 -04:00
Gavin M. Roy
1affb16eb6 Have a default content-length for responses without one 2016-09-14 12:18:45 -04:00
Gavin M. Roy
98781c101d Move to millisecond precision 2016-09-14 01:27:55 -04:00
Gavin M. Roy
f4245531b7 Remove the import for ietfparse 2016-09-14 00:48:29 -04:00
Gavin M. Roy
815949458b Remove content_type tag for now 2016-09-14 00:44:49 -04:00
Gavin M. Roy
821b80291b python2/3 compatibility fix 2016-09-14 00:32:16 -04:00
Gavin M. Roy
b73679c57a Rework line protocol marshalling and more
- Rework how the line protocol is marshalled and support the various data types.
- Remove the accept tag
- Strip down content_type to the ``type/subtype`` format only
- Make ``correlation_id`` a field value and not tag
- Change the precision to second precision, per the InfluxDB docs (use the most
    coarse precision for better compression)
2016-09-14 00:27:05 -04:00
Gavin M. Roy
7fee1a1c83 Bump the version 2016-09-13 22:02:49 -04:00
Gavin M. Roy
9ba7a5e82c Add some exception handling just in case 2016-09-13 22:02:21 -04:00
Gavin M. Roy
a22c66fda5 Fix response header parsing in python3 2016-09-13 22:00:12 -04:00