Commit Graph

22 Commits

Author SHA1 Message Date
Toby Lawrence 774203d8b7
(cargo-release) version 0.13.0 2020-01-22 12:18:23 -05:00
Toby Lawrence fac1494131
(cargo-release) version 0.3.0 2020-01-22 12:16:41 -05:00
Toby Lawrence 3a2ee9ee15
(cargo-release) version 0.4.0 2020-01-22 12:16:19 -05:00
Daniel Fox Franke cf5691fe2a Migrate to core::futures (#65)
* Migrate to core::futures

This drops all dependencies on the 'futures' crate, and upgrades to
hyper-0.13 and tokio-0.2. Methods that return futures now use
async/await.

Since hyper has removed hyper_run(), I have in turn removed the
HttpExporter::run() method. The user should just call async_run()
and spawn or await the result however they wish.

* Bump CI minimum rust to 1.39 for async/await

Co-authored-by: Toby Lawrence <tobz@users.noreply.github.com>
2020-01-14 23:11:42 -05:00
Toby Lawrence b48d65aca1
(cargo-release) version 0.12.1 2019-12-17 15:09:47 -05:00
Jerome Gravel-Niquet 7fcab1c46e Adds increment and decrement methods to Gauge (#64)
* Adds increment and decrement methods to Gauge.
2019-12-17 15:08:37 -05:00
Toby Lawrence 70f149152c
(cargo-release) version 0.12.0 2019-10-18 15:10:13 -04:00
Toby Lawrence c379824e88
misc: bump metrics-runtime to 0.11.0 to get versionsing on tracking 2019-10-18 15:09:57 -04:00
Toby Lawrence 39ff8ed190
(cargo-release) version 0.12.0 2019-10-18 14:58:26 -04:00
Toby Lawrence 591f4dac18
misc: prepare for release 2019-10-18 14:57:11 -04:00
Ben Striegel 955bc0f265 Fix tests and update some dependencies (#53)
* fix: update docs and tests for controller/sink changes
* chore: remove hashbrown dep and update parking_lot version
* style: rustfmt
2019-10-18 09:11:23 -04:00
jean-airoldie 50db390ad7 runtime: renamed `get_controller` & `get_sink` for Receiver (#48) 2019-09-20 12:50:03 -04:00
jean-airoldie 2f3e344705 Renamed metrics::Recorder & metrics-runtime::Sink methods (#47) 2019-08-14 10:17:41 -04:00
Toby Lawrence b2e87d7a7f
Release preparation. (meta) (#41)
* Cut new releases for all modified crates.
2019-07-30 17:08:19 -04:00
Toby Lawrence 6ca2bcf097
runtime: add proxy metric support (#39) 2019-07-28 20:10:56 -04:00
samrg472 6af1c97186 Add project layout information to the README (#40) 2019-07-25 09:17:35 -04:00
Toby Lawrence ed80f3307e
feature: add a JSON observer (#38) 2019-07-23 12:25:49 -04:00
Toby Lawrence 66ba3056a7
runtime: small code simplification 2019-07-21 11:52:57 -04:00
jean-airoldie e614847de6 core: Recorder -> Observer (#35) 2019-07-17 09:06:45 -04:00
Toby Lawrence ad72bc16c1
core: add Builder trait for recorders (#30)
This change adds a new trait -- `Builder` -- which defines a value that
can create new recorder instances.

As we have a need to generate owned recorders, in particular for
futures-based code, the `Builder` trait provides a way to do so without
any jankiness, such as the prior Clone-based approach.

As such, all exporters now expect a builder to be passed in, rather than
the recorder itself.
2019-07-15 09:35:34 -04:00
Toby Lawrence 8c4e130170
runtime: remove needless build profile. (#32) 2019-07-07 14:51:59 -04:00
Toby Lawrence d459db8084
Add label support + rename crates. (#27) 2019-07-05 21:14:08 -04:00