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
8c764d0d71
WIP - Single thread scheduler
2019-03-17 09:34:42 -04: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
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
Francis Lalonde
fb06a53dae
Merge pull request #46 from fralalonde/fix/syntax-highlighting-skeptic
...
Get rid of skeptic templates for better code highlighting
2019-01-23 12:15:16 -05:00
Francis Lalonde
f15841aa73
Merge pull request #40 from mixalturek/doc-fixes
...
Fix doc comments.
2019-01-23 12:11:42 -05:00
Francis Lalonde
770b7e498d
Get rid of skeptic templates for better code highlighting
2019-01-23 09:07:32 -05:00
Francis Lalonde
bc334ded3f
Merge pull request #37 from fralalonde/fix/send-sync-error
...
Make boxed errors Send + Sync
2019-01-22 08:42:57 -05:00
Michal Turek
0c8ff6a316
Fix doc comments.
2019-01-22 13:15:56 +01:00
Francis Lalonde
2122729efb
Rename + deprecate a bunch of methods for API consistency
2019-01-21 16:53:01 -05:00
Francis Lalonde
b13bba7b5e
Make boxed errors Send + Sync
2019-01-21 14:27:46 -05:00
Francis Lalonde
528f30c1c5
(cargo-release) start next development iteration 0.7.2-alpha.0
2019-01-13 12:50:15 -05:00
Francis Lalonde
c0e789abcf
(cargo-release) version 0.7.1
2019-01-13 12:49:57 -05:00
Francis Lalonde
914ee1e7e6
Fix: Export Missing Level
2019-01-13 12:49:24 -05:00
Francis Lalonde
5a4353e9db
Bit of doc
2019-01-12 18:21:47 -05:00
Francis Lalonde
75d5487d78
(cargo-release) start next development iteration 0.7.1-alpha.0
2019-01-11 19:47:07 -05:00
Francis Lalonde
3dbe61e7fa
Merge pull request #34 from fralalonde/gagaga
2019-01-08 10:25:48 -05:00
Francis Lalonde
7ba1a7687e
Merge pull request #33 from mixalturek/name-threads
...
Name all threads spawned by dipstick.
2019-01-08 10:20:05 -05:00
Michal Turek
e2ed2e6712
Name all threads spawned by dipstick.
...
- Well behaved code should always name all spawned threads. It's to simplify debugging (`pstree -t PID`), the names are written to logs etc.
- `.unwrap()` may cause panic which is bad, but the same one was already in the original `thread::spawn()`. Fix would require API change which is out of scope of this update.
- Examples weren't touched to make them short and simple.
2019-01-07 07:57:51 +01:00
Francis Lalonde
963dfc0fd2
Level Log Target
2018-12-31 17:03:34 -05:00
Francis Lalonde
456f096981
Tested Level counters OK
2018-12-20 16:19:03 -05:00
Francis Lalonde
b449578e86
Merge branch 'cleanup' into gagaga
2018-12-20 07:35:51 -05:00
Francis Lalonde
547458f240
Some cleanup
2018-12-20 07:35:31 -05:00
Francis Lalonde
5a39b111c8
gskdjghdk
2018-12-20 07:26:19 +00:00
Francis Lalonde
0158c5c698
Using examples for handbook
2018-12-19 01:29:19 +00:00
Francis Lalonde
5d67e096ee
Switch to isize for MetricValue
2018-12-18 16:06:03 -05:00
Francis Lalonde
f55640cdd6
Merge pull request #31 from fralalonde/use-prometheus-crate
...
Use prometheus crate
2018-12-18 19:24:01 +00:00
Francis Lalonde
a4fb022da4
Merge branch 'master' of github.com:fralalonde/dipstick
2018-12-18 14:18:57 -05:00