Commit Graph

141 Commits

Author SHA1 Message Date
Toby Lawrence 7ee3bd1903 fix up bad release 2020-10-24 10:58:35 -04:00
Toby Lawrence cf1d93c979
core: add unit support (#107) 2020-10-24 10:55:12 -04:00
Toby Lawrence 156e0bdced get changelog stuff in place 2020-10-24 10:54:55 -04:00
Toby Lawrence 1aec7fdb51 rejigger metrics-observer so it's not part of tests 2020-10-24 10:28:44 -04:00
Toby Lawrence f12e4101da Atomic::null constness somehow changed 2020-10-24 10:18:24 -04:00
Toby Lawrence 05e451f7e1 fix formatting 2020-10-24 10:14:44 -04:00
Toby Lawrence b8bee9b19e fix streaming bug + no_std attempt with util as the testbench 2020-10-24 10:14:44 -04:00
Toby Lawrence 91be4d0aad helper methods + metrics-observer test case 2020-10-24 10:12:46 -04:00
Toby Lawrence 9f8f9d360c first cut at units 2020-10-24 10:12:46 -04:00
dependabot[bot] 5f26d6567f
Update env_logger requirement from 0.7 to 0.8 (#108)
Updates the requirements on [env_logger](https://github.com/env-logger-rs/env_logger) to permit the latest version.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.0...v0.8.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-20 10:12:16 -04:00
dependabot[bot] 1522221f7d
Update crossbeam-channel requirement from 0.4 to 0.5 (#102)
Updates the requirements on [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) to permit the latest version.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.4.0...crossbeam-channel-0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-17 13:43:22 -04:00
dependabot[bot] e14b7ffd11
Update crossbeam-epoch requirement from 0.8 to 0.9 (#103)
Updates the requirements on [crossbeam-epoch](https://github.com/crossbeam-rs/crossbeam) to permit the latest version.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-epoch-0.8.0...crossbeam-epoch-0.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Toby Lawrence <tobz@users.noreply.github.com>
2020-10-17 13:42:42 -04:00
dependabot[bot] dc6164fd0c
Update crossbeam-utils requirement from 0.7 to 0.8 (#101)
Updates the requirements on [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) to permit the latest version.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.7.0...crossbeam-utils-0.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-17 13:41:54 -04:00
MOZGIII ff4795e74f
Add a const constructor for KeyData (#106) 2020-10-17 10:38:13 -04:00
Toby Lawrence 9d3d8770e4
(cargo-release) version 0.4.0-alpha.4 2020-10-08 11:11:38 -04:00
Toby Lawrence 96c18117a2 minor cleanup tweaks 2020-10-08 11:11:15 -04:00
Toby Lawrence 8ac4b2f041 Add a fanout layer. 2020-10-08 11:11:02 -04:00
Toby Lawrence 623ccf110a rough impl of metrics-observer 2020-10-05 10:22:45 -04:00
Toby Lawrence 2125de533b
(cargo-release) version 0.13.0-alpha.5 2020-10-04 23:34:50 +00:00
Toby Lawrence b92898b249 fix Key hash impl + adjust metric name regex 2020-10-04 23:34:24 +00:00
Toby Lawrence ebcaab37c1
macros: sanitize/validate metric name (#95)
* macros: sanitize metric name

* bump msrv for tests
2020-09-27 18:00:16 -04:00
Toby Lawrence 72602ce6fb
tracing-context: optimize Visit impl (#94)
* tracing-context: optimize Visit impl
2020-09-27 15:32:10 -04:00
Toby Lawrence 1ed5f7fd63
Switch from Azure Pipelines to Github Actions. (#93)
* Switch from Azure Pipelines to Github Actions.

* Move the CI config to the right folder.
2020-09-27 08:57:37 -04:00
Toby Lawrence 0c91dd9d7a
Attempt to bind to the listen address before starting server. (#92) 2020-09-27 08:45:27 -04:00
Toby Lawrence 5783ee2b51 fix prometheus exporter cargo.toml 2020-09-27 02:29:36 +00:00
Toby Lawrence 36834dd6c6
refactor: next-generation metrics (#80) 2020-09-26 22:26:39 -04:00
Toby Lawrence a796126c27
Update README.md 2020-09-16 17:15:45 -04:00
Toby Lawrence 232f49f349
Create netlify.toml 2020-08-22 11:37:31 -04:00
Rodrigo Pandini 8d0a9c5e4a
Update README.md (#82)
Fix typo.
2020-07-26 14:33:51 -04:00
Nazar Mishturak e003dc97ea
Add atomic_shim to support platforms without 64-bit atomics (#79)
Signed-off-by: Nazar Mishturak <nazarmx@gmail.com>
2020-07-20 21:39:02 -04:00
Akhil Velagapudi c766fc0d47
Bump dependencies of metrics-runtime (#74) 2020-06-05 08:39:05 -04:00
Toby Lawrence 0d98ceffb3
(cargo-release) version 0.1.4 2020-05-19 14:46:32 -04:00
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