Commit graph

115 commits

Author SHA1 Message Date
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
Ryan Mclean
dd14ecbde6 Squash pep8 indentation issues 2016-03-08 13:18:22 -05:00
Dave Shawley
3e4300e6b8 WIP 2016-02-19 07:32:37 -05:00
Gavin M. Roy
48e46e0eb4 Merge pull request #11 from sprockets/fix-version-importing
Fix packaging
2016-02-01 14:55:47 -05:00
Dave Shawley
b1b4738ee6 Metadata bumps for 1.0.1. 2016-02-01 14:53:06 -05:00
Dave Shawley
a701452808 Require tornado 4.x to be present. 2016-02-01 14:51:48 -05:00
Dave Shawley
05c013142d Export version_info and __version__. 2016-02-01 14:49:19 -05:00
Dave Shawley
8528beef5d Make it safe to import __version__. 2016-02-01 14:48:46 -05:00
dave-shawley
58206dfca5 Merge pull request #10 from sprockets/release-1.0
Metadata bumps for 1.0.0.
2016-02-01 10:20:59 -05:00
Dave Shawley
d1e3e1c2b7 Metadata bumps for 1.0.0. 2016-02-01 10:18:04 -05:00
Gavin M. Roy
e68bf69b53 Merge pull request #9 from sprockets/move-status
Move status code to a tag in the InfluxDB implementation.
2016-02-01 10:15:03 -05:00
Dave Shawley
5295151ee6 InfluxDBMixin: Move status code to a tag. 2016-02-01 10:12:12 -05:00
Gavin M. Roy
9a68608f0d Merge pull request #7 from sprockets/remove-quotes
InfluxDBMixin: Remove unnecessary quotes from tags.
2016-02-01 08:51:02 -05:00
Dave Shawley
b9d71dde6b InfluxDBMixin: Remove unnecessary quotes from tags.
It turns out that tag values are always treated as string values so the
quotes are not necessary.
2016-01-30 18:36:24 -05:00
Gavin M. Roy
1d6c2b7597 Merge pull request #3 from sprockets/final-touches
Final touches
2016-01-29 10:05:02 -05:00
Dave Shawley
7339f80408 examples: is_future is in concurrent not gen. 2016-01-29 09:25:50 -05:00
Dave Shawley
2d29c8cda7 docs: Create a static directory.
Hopefully this fixes build failures on RTD:

https://readthedocs.org/projects/sprocketsmixinsmetrics/builds/3675075/
2016-01-27 11:09:29 -05:00
Dave Shawley
5b538b261f setup.cfg: Enable universal wheels. 2016-01-27 10:56:57 -05:00
Dave Shawley
0cd1ca0876 travis: Enable PyPI uploads for tagged versions. 2016-01-27 10:54:38 -05:00
Dave Shawley
6fc75b3080 Metadata bumps for pre-release. 2016-01-27 10:51:22 -05:00
Dave Shawley
7b757c24ff docs: Add codecov badge. 2016-01-27 10:47:51 -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
64c136f635 InfluxDBMixin: Add test for set_metric_tag. 2016-01-27 10:35:35 -05:00
Dave Shawley
78a59d167d InfluxDBMixin: Always quote tag values. 2016-01-27 10:23:37 -05:00