Commit Graph

209 Commits

Author SHA1 Message Date
Jerome Gravel-Niquet 9e0567cb31
Add buckets (histogram) to Prometheus observer (#73) 2020-05-19 14:44:32 -04:00
Toby Lawrence a2f699d254
Fix a bad ref. 2020-01-27 08:25:28 -05:00
Toby Lawrence e5db69a544
Point folks to Discord since Gitter is basically dead. 2020-01-27 08:24:55 -05:00
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 22fbdffd24
(cargo-release) version 0.1.3 2019-12-14 09:08:36 -05:00
Jerome Gravel-Niquet 58ffb74b3e better escape prometheus label values (#63) 2019-12-13 19:04:31 -05:00
Toby Lawrence be7c5151cc
(cargo-release) version 0.1.2 2019-12-11 15:35:39 -05:00
Jerome Gravel-Niquet 75d76e812f Group prometheus series by type (#62)
This groups metrics by their root name instead of also using their labels.  This is because Prometheus expects a single TYPE declaration per metric name, with all versions of that metric -- different labels, etc -- under that one TYPE declaration.

Also fixes issues with properly escaping disallowed characters in the output.
2019-12-11 15:33:24 -05:00
Toby Lawrence d61f27aa69
(cargo-release) version 0.12.1 2019-11-21 01:09:40 -05:00
Toby Lawrence 4bdac9ab4a
(cargo-release) version 0.5.2 2019-11-21 01:09:16 -05:00
Toby Lawrence a89442a4e0
Update CHANGELOG for metrics-core. 2019-11-21 01:08:49 -05:00
Toby Lawrence ca759f4135
Update CHANGELOG for metrics. 2019-11-21 01:07:44 -05:00
Toby Lawrence 9c02da4002
(cargo-release) version 0.3.1 2019-11-21 01:04:07 -05:00
Toby Lawrence 9aa00ee54d Update some dependencies for metrics-util. 2019-11-21 00:36:40 -05:00
Kevin Darlington e926504085 Fix display for Key (#59)
The Display implementation for Key is missing the closing parenthesis.
2019-11-19 12:42:56 -05:00
Jerome Gravel-Niquet 5f0708c60c Fixes gitter link (#56) 2019-11-13 09:06:24 -05:00
Thomas Gillen 9fd5e709e3 Don't evaluate macro arguments with no recorder (#55) 2019-11-11 19:54:47 -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
jean-airoldie c30f256fb2 Improved gauge, timing and value macro doc (#46) 2019-08-13 21:08:37 -04:00
jean-airoldie 634cf4e261 Improved counter! macro doc (#44) 2019-08-13 18:24:52 -04:00
jean-airoldie 714fcaeed6 Make the available recorders more obvious (#45) 2019-08-13 18:24:38 -04:00
Toby Lawrence c43606b9ac
(cargo-release) version 0.11.1 2019-08-09 14:20:42 -04:00
Toby Lawrence b7153b4ea1
Update the changelog for metrics. 2019-08-09 14:20:13 -04:00
Toby Lawrence cf29d69a1e
Also fix fully qualified paths to the timing macro. 2019-08-09 14:17:07 -04:00
Toby Lawrence e3cd2ada68
Remove and fix metric-core CHANGELOG; cargo-release did not do the right thing. :) 2019-08-08 19:49:12 -04:00
Toby Lawrence 29039ffbb2
(cargo-release) version 0.5.1 2019-08-08 19:47:07 -04:00
Toby Lawrence 33f8bed0e8 Update our cargo-release config to make things a little more streamlined. 2019-08-08 19:46:41 -04:00
Toby Lawrence be36b0e75f
Update the correct CHANGELOG, doh! :) 2019-08-08 19:27:36 -04:00
svartalf 0ab3543a2d Use absolute macro path for labels! invocation (#43)
* Use absolute macro path for labels! invocation
2019-08-08 19:23:48 -04:00
Toby Lawrence f2b6cc1f21
(cargo-release) version 0.1.1 2019-07-30 18:17:32 -04:00
Toby Lawrence 59ea5fa6d0
misc: set up cargo-release config 2019-07-30 18:16:49 -04:00
Toby Lawrence f74948ba9f
(cargo-release) version 0.1.1 2019-07-30 18:08:10 -04:00
Toby Lawrence b3f34f022e
(cargo-release) version 0.1.1 2019-07-30 18:07:11 -04:00
Toby Lawrence 6566647a06
Stop pulling in unnecessary features/dependencies. 2019-07-30 17:49:01 -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