Francis Lalonde
3fac0c2187
Merge pull request #62 from mixalturek/public-ObserveWhen
...
Reexport `ObserveWhen` to make it public.
2019-05-09 14:27:10 -04:00
Michal Turek
55fe491df5
Reexport `ObserveWhen` to make it public.
...
- `ObserveWhen` is a return value of public `Observe.observe()` but it is unfortunately private.
2019-05-07 15:42:31 +02:00
Francis Lalonde
577f3c72b7
Updated changelist and added build instructions
2019-04-16 17:44:15 -04:00
Francis Lalonde
dbd659a91d
Apply formatting
2019-04-16 17:30:44 -04:00
Francis Lalonde
f13948e43f
Sanitize with clippy
2019-04-16 17:29:55 -04:00
Francis Lalonde
7bb718c1b4
Expanded handbook - stats, metrics, schduler
2019-04-11 00:41:44 -04:00
Francis Lalonde
88a807435b
(cargo-release) start next development iteration 0.7.3-alpha.0
2019-04-10 21:04:40 -04:00
Francis Lalonde
b2c674814e
v0.7.2
2019-04-10 21:04:12 -04:00
Francis Lalonde
2e067691d2
Update README.md
2019-04-10 11:57:24 -04:00
Francis Lalonde
11cc138065
Observe any metric type, pass now to Oberver as param
2019-04-10 11:00:46 -04:00
Francis Lalonde
018662faf5
0.7.2 changelist
2019-04-10 09:05:14 -04:00
Francis Lalonde
ff5c291d28
Merge pull request #50 from fralalonde/feature/observers
...
Feature/observers
2019-04-09 16:10:10 -04:00
Francis Lalonde
7028ae9ffc
Add back to_new_file changes
2019-04-09 08:53:20 -04:00
Francis Lalonde
6a205337e5
Document observers in handbook
2019-04-09 08:43:14 -04:00
Francis Lalonde
bb9b174d17
Merge branch 'master' into feature/observers
2019-04-09 07:56:42 -04:00
Francis Lalonde
0070f26d6d
Applied format
2019-04-09 07:55:15 -04:00
Francis Lalonde
e5c74de9ed
Fix shared flush listeners & schedule handles
2019-04-09 07:46:25 -04:00
Francis Lalonde
23dc724a4b
Ergonomize listeners
2019-04-08 22:49:39 -04:00
Francis Lalonde
5c5ec504f5
New single thread scheduler
2019-04-07 23:42:34 -04:00
Francis Lalonde
7593eea5a0
Merge branch 'feature/observers' of github.com:fralalonde/dipstick into feature/observers
2019-04-04 22:46:51 -04:00
Francis Lalonde
5f9aa17b71
Merge pull request #59 from vorner/to-file-fixes
...
output::Stream::to_file should append
2019-03-29 15:34:57 -04:00
Michal 'vorner' Vaner
8c82012448
output::Stream::to_file should append
...
The `to_file` should append. Add `to_new_file` that overwrites (or
errors, depending on parameter).
Piggy-back: make the methods take AsRef<Path>, to allow taking `&str`
and `String` and such too ‒ just like file manipulation routines do in
std (that is fully backwards compatible change).
2019-03-29 20:19:51 +01:00
Francis Lalonde
2e7f6f01dc
Merge pull request #55 from fralalonde/rust-format
...
Applied rustfmt
2019-03-17 21:44:17 -04:00
Francis Lalonde
028f6d996d
Applied rustfmt
2019-03-17 21:42:00 -04:00
Francis Lalonde
8c764d0d71
WIP - Single thread scheduler
2019-03-17 09:34:42 -04:00
Francis Lalonde
c0a1e4cb7a
Merge pull request #53 from vorner/stream-to-file
...
Stream::to_file: Open for writing
2019-03-12 17:08:45 -04:00
Michal 'vorner' Vaner
147d99745b
Stream::to_file: Open for writing
...
And create if necessary.
2019-03-12 21:56:58 +01:00
Francis Lalonde
22a7e47c2c
Abandon Observer struct
2019-03-11 14:28:55 -04:00
Francis Lalonde
90626748ef
Abandon Observer struct
2019-03-11 14:22:55 -04:00
Francis Lalonde
8aeb216b5b
Merge pull request #51 from vorner/unused-generic
...
Unused generic
2019-03-10 13:40:33 -04:00
Michal 'vorner' Vaner
8199157909
cleanup: () is the default return type
...
No need to write it explicitly
2019-03-10 18:38:02 +01:00
Michal 'vorner' Vaner
b009542183
Get rid of unused generic param
...
It makes it cumbersome to call and serves no purpose.
2019-03-10 18:37:29 +01:00
Francis Lalonde
bb2780e0ce
Added OnFlush & Gauge Observers
2019-03-08 16:59:51 -05:00
Michal Turek
f279fa6790
#42 pub(crate) -> pub as requested.
2019-03-07 15:38:42 -05:00
Michal Turek
fb8fe633cb
#42 Improve API, remove Arc that wraps the closure, rename method.
2019-03-07 15:37:48 -05:00
Michal Turek
4a6227122d
#42 Improve API, remove Arc that wraps the closure.
2019-03-07 15:37:48 -05:00
Michal Turek
5e35e680b7
#42 Fix memory and performance leak.
...
- If multiple callbacks are registered under the same conflicting key, only the last one will survive.
- It would be especially bad if the callback was re-registered periodically. The memory would increase and even all historical callbacks would be executed during each iteration.
2019-03-07 15:31:00 -05:00
Michal Turek
210b37f5fb
#42 Minor improvements.
...
- Use `MetricValue` instead of `isize`.
- Cancel handle in example.
- Configurable thread name.
2019-03-07 15:23:23 -05:00
Michal Turek
b2d6b94469
#42 Observer of gauge values.
2019-03-07 15:23:23 -05:00
Francis Lalonde
2ffafff929
Merge pull request #49 from fralalonde/crossbeam-etc
...
Crossbeam etc
2019-02-19 16:05:37 -05:00
Francis Lalonde
a1a6d0593d
Use parking_lot for all mods
2019-02-19 15:36:35 -05:00
Francis Lalonde
352371049b
Use parking_lot for Proxy and AtomicBucket
2019-02-19 14:56:13 -05:00
Francis Lalonde
9700ac6489
Update HANDBOOK.md
2019-02-19 09:55:50 -05:00
Francis Lalonde
3785981f82
Remove unused protobuf schema
2019-02-06 09:10:27 -05:00
Francis Lalonde
09e54bbd37
Non-option sampling & buf, per-metric-sample example, default features fix
2019-01-26 11:53:38 -05:00
Francis Lalonde
9c50fe0ffc
Fix unused macro warnings
2019-01-26 08:10:53 -05:00
Francis Lalonde
54acee9f62
Merge pull request #38 from fralalonde/fix/api-cleanup-named-etc
...
Rename + deprecate a bunch of methods for API consistency
2019-01-26 08:04:21 -05:00
Francis Lalonde
9eb41aebeb
Final method rename PR changes - named() / add_name()
2019-01-25 15:45:46 -05:00
Francis Lalonde
bae0fa6b5a
Merge branch 'master' into fix/api-cleanup-named-etc
2019-01-23 12:58:13 -05:00
Francis Lalonde
44ebcdc2b5
PR #38 changes #1
2019-01-23 12:53:46 -05:00