Francis Lalonde
6cae3b5d4c
Beautiful tree macros?
2018-06-22 16:34:55 -04:00
Francis Lalonde
83d9ecb508
update macros
2018-06-22 01:08:04 -04:00
Francis Lalonde
252eba5d48
Raw Bridge
2018-06-21 16:28:25 -04:00
Francis Lalonde
537fc102ad
Raw Graphite
2018-06-20 15:04:04 -04:00
Francis Lalonde
1ca1ea2654
Raw Metrics
2018-06-20 14:18:51 -04:00
Francis Lalonde
faf5e5bc67
Remove Flush
2018-06-20 07:59:21 -04:00
Francis Lalonde
a35e6dd57a
Everyday I'm Buffering
2018-06-19 16:05:04 -04:00
Francis Lalonde
a7856bce93
Readd cache
2018-06-16 22:59:51 -04:00
Francis Lalonde
0cea9bef11
Async Ouptut
2018-06-16 19:11:29 -04:00
Francis Lalonde
b35c014e60
Renaming to Bucket, Proxy, Name, Input, Output...
2018-06-15 17:33:28 -04:00
Francis Lalonde
c72c66edc9
Reenable async
2018-06-15 15:26:01 -04:00
Francis Lalonde
7ff46604ad
Add Attributes
2018-06-14 12:58:56 -04:00
Francis Lalonde
34a4c929d4
Major Cleanup reporting for duty, Sir!
2018-06-12 17:09:22 -04:00
Francis Lalonde
adb56eeb59
Make ROOT_DISPATCH public
2018-05-31 14:24:06 -04:00
Francis Lalonde
09baab8c42
Fix scope namespace concat
2018-05-28 22:58:58 -04:00
Francis Lalonde
d764cb5826
Put back some 0.6 compat fn
2018-05-25 17:10:45 -04:00
Francis Lalonde
838c121fcc
TLS Mock Clock for tests
2018-05-25 12:28:01 -04:00
Francis Lalonde
1a6ac869bd
Removed MetricWriter
...
Add mock_clock feature
2018-05-24 22:43:16 -04:00
Francis Lalonde
d6bc8e22b4
Fuse &str name into Namespace
2018-05-22 17:18:39 -04:00
Francis Lalonde
37a2d1d116
Use a single timestamp for all of an Aggregator scores Use std::time::Instant for all timestamps and timers
2018-05-18 09:57:33 -04:00
Francis Lalonde
6d1f93e6a0
Added namespaces
2018-05-04 13:38:33 -04:00
Francis Lalonde
c9208c415e
Dispatch tree
2018-04-30 14:10:44 -04:00
Francis Lalonde
91e75380db
Less types macros
2018-04-06 23:47:43 -04:00
Francis Lalonde
ede2033e02
Fabtastic unified API
2018-04-06 17:22:00 -04:00
Francis Lalonde
6f89bb09d9
Stabilized dispatch and aggregate to default only for now
2018-03-29 16:29:39 -04:00
Francis Lalonde
1e32ea1383
Much rejoicing
2018-03-29 14:43:07 -04:00
Francis Lalonde
4ccd19bd49
Much rejoicing
2018-03-29 14:22:43 -04:00
Francis Lalonde
d055270d84
Registry dissolved
2018-03-28 17:00:35 -04:00
Francis Lalonde
2681c7b342
AppMetrics -> Metrics, fix send_metrics()
2018-03-26 16:44:04 -04:00
Francis Lalonde
0143cea743
Context -> Scope
2018-03-26 12:57:40 -04:00
Francis Lalonde
4c4b82a9da
Shorten Send/Recv delegate
2018-03-22 10:11:02 -04:00
Francis Lalonde
d4274cf49c
Fix format + naming + a few tests
2018-03-13 09:54:12 -04:00
Francis Lalonde
9b84a1ac42
Rich & Delegate Macros
2018-03-08 17:22:35 -05:00
Francis Lalonde
178a9eb319
Global Dispatch
2018-02-06 07:23:15 -05:00
Francis Lalonde
00e6505dd4
Dispatcher done
2018-01-26 16:33:11 -05:00
Francis Lalonde
928704233d
Bump REAME crate version
2018-01-17 12:37:38 -05:00
Francis Lalonde
e97cf70f88
Add app_metric! forms for tuples and arrays
2018-01-16 16:56:34 -05:00
Francis Lalonde
5afa5ad919
Reintroduce old macros, same form (fix)
2018-01-16 15:14:53 -05:00
Francis Lalonde
b5fd801ca4
Reintroduce old macros, deprecated
2018-01-16 15:10:10 -05:00
Francis Lalonde
fce1c72965
Fix marker rate, add Namespace
2018-01-16 15:00:47 -05:00
Francis Lalonde
0da03669bb
Update app_metric macro syntax
2018-01-15 15:32:57 -05:00
Francis Lalonde
ed3ce00212
Add app_* types and mod_* macros
2018-01-15 13:14:08 -05:00
Francis Lalonde
c52fa0e8a4
(cargo-release) version 0.6.0
2018-01-09 16:45:55 -05:00
Francis Lalonde
39358e0a39
for great justice
2018-01-09 16:43:32 -05:00
Francis Lalonde
c282a52e8e
Multi chain slices
2017-12-13 14:58:42 -05:00
Francis Lalonde
bb38426272
Good refactoring of API and internals
...
- Replaced Sink<M> trait with Chain<M> struct
- functional decorators
- AppMetrics<M, S> is now GlobalMetrics<M>
- output prefixes added with prefix("str")
- scheduled flush_every() is now on GlobalMetrics
- aggregate publishes on flush, takes stat_fn and flush target_chain at creation time
2017-12-12 16:17:38 -05:00
Francis Lalonde
c8aa0d2a90
Before Aggregate refactor
2017-12-11 11:25:53 -05:00
Francis Lalonde
be77fc6748
Tune published stats
2017-12-08 22:36:38 -05:00
Francis Lalonde
abd3abe0f6
OOPS Fix aggregate snapshot
2017-12-08 14:06:53 -05:00
Francis Lalonde
372f380ce9
Add MeanRate to aggregator stats, refactor scoreboard, Average is f64
2017-12-08 13:18:59 -05:00
Francis Lalonde
c2269c6a9c
Fix graphite lock jumble. Update README intro.
2017-12-07 22:18:03 -05:00
Francis Lalonde
caa7ab7f07
(cargo-release) start next development iteration 0.4.15-alpha.0
2017-12-07 21:22:31 -05:00
Francis Lalonde
b29dade767
Add RetrySocket for graphite
2017-12-07 16:22:57 -05:00
Francis Lalonde
76b0da6ff2
Add graphite metrics
2017-12-06 20:41:46 -05:00
Francis Lalonde
1dbb21f8b0
Fix statsd sampling format missing pipe, add statsd benchmark
2017-12-06 10:56:20 -05:00
Francis Lalonde
2ce8575f02
AsSink using only one type parameter
2017-12-04 11:21:18 -05:00
Francis Lalonde
90a128380a
Drop cached dependency, use internal lru_cache
2017-11-29 08:42:01 -05:00
Francis Lalonde
55de36def3
Use &str for statsd init
2017-11-28 08:42:12 -05:00
Francis Lalonde
1b3a63006e
Remove error_chain dependency and expose error module
2017-11-27 14:55:31 -05:00
Francis Lalonde
aa619ce6cf
Fix ad-hoc metrics aggregation by using dedup map & cleanup after publish
2017-11-27 13:05:28 -05:00
Francis Lalonde
459327eb5d
Rustfmt, fix cache & bench
2017-10-10 16:44:27 -04:00
Francis Lalonde
bb2957d122
Unwrap clone cached metrics
2017-10-06 13:47:25 -04:00
Francis Lalonde
97dcc58a32
Add feature flags cached,log,statsd
2017-10-06 09:43:54 -04:00
Francis Lalonde
bb6e721706
Add scope metrics
2017-10-05 14:41:24 -04:00
Francis Lalonde
dcf576c493
Blackbox benches
2017-10-04 21:43:35 -04:00
Francis Lalonde
3897ec6d55
Adopt cargo readme & cargo make
2017-09-29 16:45:09 -04:00
Francis Lalonde
5608f21e93
fixed examples
2017-09-29 16:08:28 -04:00
Francis Lalonde
d8ceae9678
Fixed benchmarks
2017-09-29 13:45:01 -04:00
Francis Lalonde
83d9a795c1
Add publish strategies
2017-09-29 11:44:40 -04:00
Francis Lalonde
f3ae717f4d
Rename Event to Marker for consistency
2017-09-27 15:15:25 -04:00
Francis Lalonde
63ef667863
Remove PhantomData
2017-09-27 11:01:43 -04:00
Francis Lalonde
2a69183bd5
(cargo-release) start next development iteration 0.4.2-alpha.0
2017-09-25 12:52:38 -04:00
Francis Lalonde
508f3394e4
Removed sched_exec dependency, bumped crate versions
2017-09-25 12:47:12 -04:00
Francis Lalonde
d0d74a799e
Split examples
2017-09-25 11:00:20 -04:00
Francis Lalonde
9c248ede8f
Arc everything works
2017-09-24 22:27:43 -04:00
Francis Lalonde
0cac1798ab
Before going back to &Fn + 'static
2017-09-23 08:18:55 -04:00
Francis Lalonde
0c3a0a7de9
Never go full functional
2017-09-22 23:11:02 -04:00
Francis Lalonde
d740dd8b12
Queue and console stdout working, with dedicated example
2017-09-21 23:36:00 -04:00
Francis Lalonde
ea4630d3d7
Done removing associated types, examples fixed?
2017-09-21 15:56:02 -04:00
Francis Lalonde
b45eee393d
Just began trying to flip types over
2017-09-19 23:04:31 -04:00
Francis Lalonde
63058831f9
Queued sink
2017-09-05 11:31:01 -04:00
Francis Lalonde
281cfd712f
Add Coatcheck pre-queueing
2017-09-05 09:42:13 -04:00
Francis Lalonde
b684ea5aec
Add IntoSink impls for lighter multi-sink setups, better README examples & docs
2017-09-02 01:24:22 -04:00
Francis Lalonde
b45e5fadde
Add many documentation stubs
2017-09-01 03:31:25 -04:00
Francis Lalonde
5c6ea96d33
Revise some doc and license
2017-08-31 01:02:12 -04:00
Francis Lalonde
9c51baf9cb
Rename Count to Counter, info! on statsd connect
2017-08-23 11:59:00 -04:00
Francis Lalonde
103c8b6d45
Removed all frontend traits, renamed Dispatch to Metrics
2017-08-22 11:05:04 -04:00
Francis Lalonde
9e7e0fc02d
Document builder functions
2017-08-21 17:20:31 -04:00
Francis Lalonde
8a2ec3d9a1
Use ::*, nice README and CONTRIBUTING, AsSink / AsSource
2017-08-21 15:31:52 -04:00
Francis Lalonde
f135f4e0b1
Fix benches, include in CI
2017-08-20 20:24:22 -07:00
Francis Lalonde
f122f56b8b
Much pub, such use
2017-08-20 09:14:21 -07:00
Francis Lalonde
2a68ffd03c
Builder functions
2017-08-19 17:38:18 -07:00
Francis Lalonde
c9fde233e9
Remove unused nightly feature
2017-08-19 10:30:56 -07:00
Francis Lalonde
2672f71fb3
Rename Dispatch new_metric* to just metric_*, and then count() to counter()
2017-08-19 07:50:27 -07:00
Francis Lalonde
4395edb837
Move lib/src to src
2017-08-19 07:29:31 -07:00
Francis Lalonde
c48c9d8f81
Split lib from examples, moved core:: to crate root
2017-08-06 12:01:21 -04:00
Francis Lalonde
4ab8caa37a
Move aggregate and publish back to root src, add self-schedule 'static Publisher
2017-07-31 14:58:41 -04:00
Francis Lalonde
c91f5b37ec
renamed dispatch to direct, moved scope from direct to its own module
2017-07-28 16:51:28 -04:00
Francis Lalonde
97649b7e73
renamed timer! back to time, more agg stats, with_prefix()
2017-07-28 15:15:38 -04:00
Francis Lalonde
ca3e864050
Add timer.time(Fn()), fix microsecond scaling to ms in statsd
2017-07-28 11:06:49 -04:00
Francis Lalonde
a7262bacf0
microseconds, disabled scopes, split count and gauge, num::ToPrimitive
2017-07-28 10:26:17 -04:00
Francis Lalonde
723c624afc
fixed benchmarks
2017-07-25 14:39:26 -04:00
Francis Lalonde
32804eb24f
applied default rustfmt, new_metric()
2017-07-25 12:26:33 -04:00
Francis Lalonde
c483426cc2
more doc, MetricKey, DispatchScope taking FnOnce(scope)
2017-07-25 12:17:57 -04:00
Francis Lalonde
fce43013ef
aggregate.sink() / .source(), better sample in main and README
2017-07-24 16:36:23 -04:00
Francis Lalonde
5a255cfa16
threadlocal dispatch scope
2017-07-24 00:20:32 -04:00
Francis Lalonde
2ae4e5cecf
impl metric cache (with caveat)
2017-07-21 14:29:39 -04:00
Francis Lalonde
fa3e74385f
before adding phantom type for metric cache
2017-07-21 11:38:26 -04:00
Francis Lalonde
98fe76d761
renamed core structs, optimized statsd, added statsd sampling field
2017-07-21 10:08:52 -04:00
Francis Lalonde
4669be5a3b
aggregate publisher
2017-07-20 15:42:39 -04:00
Francis Lalonde
0165a5ca57
scheduled aggregated metrics to statsd
2017-07-19 16:46:04 -04:00
Francis Lalonde
b1d6e6bfb3
Simple Aggregate Sink
2017-07-18 16:18:02 -04:00
Francis Lalonde
b30d647b97
split into modules
2017-07-17 11:21:31 -04:00
Francis Lalonde
235c20d705
Aggregate WIP.2
2017-07-16 22:48:28 -04:00
Francis Lalonde
02587b6902
Aggregate WIP
2017-07-06 06:53:57 -04:00
Francis Lalonde
8ff8446d50
Renamed project, README todo
2017-06-29 17:52:37 -04:00
Francis Lalonde
13872b9bc5
Added Sweet Metric traits
2017-06-29 17:40:25 -04:00
Francis Lalonde
66285bc56e
Starting to look like we're getting somewhere
2017-06-28 16:08:44 -04:00
Francis Lalonde
0a1195249f
Slightly less dumb shit
2017-06-28 08:03:19 -04:00
Francis Lalonde
009dd5cdd1
Yeah
2017-06-27 06:04:02 -04:00