Commit Graph

383 Commits

Author SHA1 Message Date
Francis Lalonde 87af3724f1 Justfile replaces Makefile. Clippy fixes: socket retry exponential backoff calculation 2023-02-15 16:45:21 -05:00
Francis Lalonde 37c7d806ea remove some 'as' casts and unused returned timeval 2023-01-26 15:25:12 -05:00
Francis Lalonde 38c1315f31 v0.9.1 2023-01-16 11:00:13 -05:00
Francis Lalonde f24a285944
Merge pull request #86 from RafalGoslawski/expose_metricid
Exposed attributes::MetricId to make extending new outputs possible
2022-12-16 08:27:07 -05:00
RafalGoslawski 9333c73783
Expose Attributes and WithAttributes trait as well 2022-12-16 13:19:29 +00:00
RafalGoslawski ed90c33f4a
Tagalong: Fixed warnings in examples 2022-12-15 17:20:46 +00:00
RafalGoslawski a29991a938
Exposed attributes::MetricId 2022-12-15 17:18:49 +00:00
Francis Lalonde e7a00d9cf3 Clippy fixes 2022-07-12 14:11:39 -04:00
Francis Lalonde e3e82f86a9
Merge pull request #81 from fralalonde/no-custom-result
v0.9.0
2020-05-25 09:13:56 -04:00
Francis Lalonde a5939a794e Clippy + Format 2020-05-25 09:12:24 -04:00
Francis Lalonde 46241ad439 v0.9.0 2020-05-22 23:53:18 -04:00
Francis Lalonde a63ddbeab7 0.8.0 SUCH REJOICING 2020-05-15 00:28:40 -04:00
Francis Lalonde 27fe143e6c Fix --no-default-features build, bump to v0.7.13 2020-04-23 15:37:41 -04:00
Francis Lalonde ecd1a86da0 Bump version to 0.7.12 2020-04-17 07:55:36 -04:00
Francis Lalonde 8025b9da5c Fix for BorrowMut Panic #78 2020-04-17 07:52:46 -04:00
Francis Lalonde 9774ea7343 Prepare v0.7.11, bump parking_lot to v0.9 2019-08-30 06:40:49 -04:00
Francis Lalonde ac9903a413
Merge pull request #77 from vorner/on-flush-send-sync
Make the OnFlushCancel Send and Sync
2019-08-30 06:28:49 -04:00
Michal 'vorner' Vaner 159c422afa
Make the OnFlushCancel Send and Sync
It is useless otherwise in most multithreaded applications.
2019-08-30 11:59:52 +02:00
Francis Lalonde fc4d7e8058
Merge pull request #76 from vorner/cancel-guard
A cancel guard
2019-07-12 15:39:15 -04:00
Michal 'vorner' Vaner 9fdbb4839d
fixup! A cancel guard 2019-07-12 21:32:16 +02:00
Michal 'vorner' Vaner 35572454d4
A cancel guard
Allows cancelling something by dropping a guard, in RAII manner, instead
of manually calling .cancel();

Closes #74.
2019-07-12 20:04:13 +02:00
Francis Lalonde 1f656fc62e
Merge pull request #75 from vorner/warn-unused-observe-when
Use must_use on the ObserveWhen
2019-07-12 09:58:11 -04:00
Michal 'vorner' Vaner ea96d5c6a0
Use must_use on the ObserveWhen
Otherwise, nothing would get observed, so better warn on it.
2019-07-11 18:39:51 +02:00
Francis Lalonde 787874fee4 Use clippy stable 2019-07-11 11:55:28 -04:00
Francis Lalonde 945fe7949a Update changelist 2019-07-11 11:50:48 -04:00
Francis Lalonde 314764987b Add dyn keyword to dyn traits as per clippy's advice 2019-07-11 11:48:14 -04:00
Francis Lalonde 5b466b6dcc
Merge pull request #73 from vorner/on-flush-cancel
Make OnFlushCancel public
2019-07-11 11:24:23 -04:00
Michal 'vorner' Vaner 2ebf6719b9
Make OnFlushCancel public
Otherwise it can't be directly stored into a struct, because the type
can't be named.
2019-07-11 17:19:59 +02:00
Francis Lalonde 3147ca034f Merge branch 'master' of github.com:fralalonde/dipstick 2019-06-22 08:53:32 -04:00
Francis Lalonde e800701072
Merge pull request #71 from grippy/grippy/prometheus
Prometheus Fixes
2019-06-22 07:51:05 -04:00
grippy 645cf15427 forgot cargo fmt 2019-06-21 20:06:12 -07:00
grippy 33a3fba4af Fixes issue with missing linefeed and uses post for prom/pushgateway call. Also adds an example on using Proxy, AtomicBucket, and MultiOutput 2019-06-21 20:05:24 -07:00
Francis Lalonde 622c3ba667 Bumped to 0.7.8, changes, fix EOL prometheus 2019-06-21 20:55:11 -04:00
Francis Lalonde 18457a792d (cargo-release) start next development iteration 0.7.8-alpha.0 2019-06-21 20:36:57 -04:00
Francis Lalonde aff4a47149 Bumped to 0.7.7 2019-06-21 20:36:26 -04:00
Francis Lalonde 84a5e4c4d3 Fixed prometheus buffer issue 2019-06-21 19:42:57 -04:00
Francis Lalonde 6d6e26d8b2 Remove spurious files from root 2019-05-23 11:35:52 -04:00
Francis Lalonde b229f3ce9a Make ID generator static (not const), updates CHANGES.md 2019-05-21 22:35:15 -04:00
Francis Lalonde c281012b5d Quick move to Rust 2018 using cargo fix 2019-05-21 22:23:31 -04:00
Francis Lalonde acdf2ddd36 Prepare 0.7.6 release 2019-05-21 22:01:24 -04:00
Francis Lalonde c523dc966b Fix nightly's 'acceptable regression' 2019-05-21 21:45:30 -04:00
Francis Lalonde ab818afe53
Merge pull request #68 from fralalonde/listener_ids
Give each flush listener its own id
2019-05-19 07:08:15 -04:00
Francis Lalonde 4182504f76 Give each flush listener its own id 2019-05-17 15:48:51 -04:00
Francis Lalonde 58ef0797d2
Merge pull request #66 from fralalonde/unique-metrics
Fix potential observer leak with unique metric IDs
2019-05-14 20:40:14 -04:00
Francis Lalonde c88cc8f7f8 Observer on_flush PR fixes 2019-05-14 20:07:49 -04:00
Francis Lalonde d2c9d19397
Merge pull request #67 from vorner/observe-foreign
Allow delegating the Observe trait to other type
2019-05-10 18:44:20 -04:00
Michal 'vorner' Vaner 8974fc5fa7
Allow delegating the Observe trait to other type
When the result was fixed to ObserveWhen<Self, _>, it was impossible to
simply delegate the trait into an wrapped type. This allows the
possibility to return ObserveWhen<Whatever, _> (which can be Self in the
case of the default implementation).

Fixes #65.
2019-05-10 22:11:13 +02:00
Francis Lalonde d50e38308d Fix potential observer leak with unique metric IDs 2019-05-10 15:16:21 -04:00
Francis Lalonde ac19241a58
Update README.md 2019-05-09 16:33:43 -04:00
Francis Lalonde 8c6ba4ea45 Bump version to 0.7.4 before release 2019-05-09 15:51:41 -04:00