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
Gavin M. Roy
080a480ff7
Add content_length, content_type, and accept values
2016-09-13 21:49:58 -04:00
Gavin M. Roy
db3aa34cec
Match on host as well
2016-09-13 20:56:17 -04:00
Gavin M. Roy
6c2bbb93c0
urllib not required
2016-09-13 20:55:15 -04:00
Gavin M. Roy
a9e5c99599
Dont use reverse_url to get the endpoint pattern in the mixin
2016-09-13 20:54:39 -04:00
Gavin M. Roy
4223b155a6
Pass in the request arguments
2016-09-13 20:10:36 -04:00
Gavin M. Roy
b46e1ceb4a
Swallow assertion errors from tornado.web.RequestHandler.reverse_url
2016-09-13 20:03:36 -04:00
Gavin M. Roy
2ad5abe9c2
Fix the badges
2016-09-13 18:15:14 -04:00
Gavin M. Roy
f8cc9c7c28
Bugfix for the Periodic callback
2016-09-13 18:12:37 -04:00
Gavin M. Roy
08a7ac2c09
Fix the readme
2016-09-13 16:46:28 -04:00
Gavin M. Roy
cd70239f6d
Merge pull request #1 from sprockets/v1
...
V1
2016-09-13 16:23:22 -04:00
Gavin M. Roy
dc32d0089e
Fix the broken tests (INFLUX_ -> INFLUXDB_)
2016-09-13 16:15:52 -04:00
Gavin M. Roy
85f51f9c34
Should only need the -r testing
2016-09-13 16:12:15 -04:00
Gavin M. Roy
783c0781b5
Add documentation
2016-09-13 16:10:50 -04:00
Gavin M. Roy
4b721a3699
Requirements updates
2016-09-13 16:10:39 -04:00
Gavin M. Roy
72154b47b2
Remove the CURL option
2016-09-13 16:10:31 -04:00
Gavin M. Roy
87c52debfc
Remove the CURL option
2016-09-13 16:10:19 -04:00
Gavin M. Roy
39555ab977
Ignore build dir
2016-09-13 16:09:52 -04:00
Gavin M. Roy
4c4eecfe23
Add docs
2016-09-13 16:09:43 -04:00
Gavin M. Roy
8a766aee8b
Move to a stand-alone module
2016-09-13 11:26:37 -04:00
Gavin M. Roy
11817fd1cf
WIP of v1
2016-09-12 21:17:55 -04:00