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
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
Dave Shawley
35d7364cea
Metadata bumps for 2.0.1.
2016-03-21 11:16:39 -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
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
b66e059811
Implement collector/periodic callback
2016-03-10 15:45:50 -05:00
Ryan Mclean
a27f2976da
Fix python 2.6 support issue for packaging
2016-03-09 14:30:25 -05:00
Ryan Mclean
ca7ed9c846
Bump version -> 1.1.0
...
Add setting options to README
2016-03-09 13:12:24 -05:00
Ryan Mclean
07f909f2a2
Update InfluxDB connection class to handle batch submits
2016-03-08 16:17:53 -05:00
Dave Shawley
3e4300e6b8
WIP
2016-02-19 07:32:37 -05:00
Dave Shawley
b1b4738ee6
Metadata bumps for 1.0.1.
2016-02-01 14:53:06 -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
d1e3e1c2b7
Metadata bumps for 1.0.0.
2016-02-01 10:18:04 -05:00
Dave Shawley
5295151ee6
InfluxDBMixin: Move status code to a tag.
2016-02-01 10:12:12 -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
Dave Shawley
6fc75b3080
Metadata bumps for pre-release.
2016-01-27 10:51:22 -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
78a59d167d
InfluxDBMixin: Always quote tag values.
2016-01-27 10:23:37 -05:00
Dave Shawley
005ad9d7ba
Add sprockets.mixins.metrics.InfluxDBMixin.
2016-01-21 15:49:35 -05:00
Dave Shawley
0f486b7ef3
Add s.m.m.testing.FakeInfluxHandler.
2016-01-21 15:29:47 -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
8b0085effc
Add FakeStatsdServer.find_metrics.
2016-01-19 10:41:02 -05:00
Dave Shawley
1c6a7fb857
Move FakeStatsdServer into s.m.m.testing.
2016-01-19 08:55:51 -05:00
Dave Shawley
a125c4ddeb
Implement timer metric in StatsdMixin.
2016-01-19 08:34:15 -05:00
Dave Shawley
3bb6be0ffc
SYN
2016-01-19 08:33:53 -05:00