Commit Graph

139 Commits

Author SHA1 Message Date
Toby Lawrence ebe5d9266b Update exporters/recorders to use new metrics-util. 2019-05-29 23:07:14 -04:00
Toby Lawrence 29eb316438 Major additions to metrics-util + formatting/documentation polish.
We've added two new major types to the crate:
- AtomicBucket, which allows queue-style atomic writes with atomic
snapshots, powered by crossbeam-epoch
- StreamingIntegers, a scalar delta/zigzag/variable-byte integer
compression implementation

These types are a major part of reworking metrics to be event loop-less
and may be eventually be spun out into their own standalone crates, and
they have value outside of just metrics.

We've also really leveled up our documentation and benchmarks, and these
two types now have full benchmark suites to better demonstrate their
value and their performance on a given system.
2019-05-29 23:07:14 -04:00
Toby Lawrence 3a0aceab68
Copy workspace README to the metrics crate. 2019-05-29 18:42:19 -04:00
Toby Lawrence a0ec2923f3
Merge pull request #17 from metrics-rs/readme-redo
Update our README.
2019-05-29 12:31:14 -04:00
Toby Lawrence 0040a1304b
First pass at an updated README. 2019-05-28 23:25:08 -04:00
Toby Lawrence 52ade1201b
bump metrics-exporters-http to 0.1.0 2019-05-05 20:43:19 -04:00
Toby Lawrence 5ff6ec980e
initial import of metrics-exporter-http v0.1.0 2019-05-05 20:42:46 -04:00
Toby Lawrence 75a38b7bd8
Drop copyright bit from LICENSE because it duplicates COPYRIGHT. 2019-05-01 13:51:18 -04:00
Toby Lawrence cd03b1e613
Bump metrics to 0.9.1 2019-05-01 11:47:17 -04:00
Toby Lawrence bef5daa908
Bump metrics-exporter-log to 0.2.0 2019-05-01 11:45:50 -04:00
Toby Lawrence 102fa42cee
Bump metrics-recorder-prometheus to 0.2.0 2019-05-01 11:38:49 -04:00
Toby Lawrence b8b3ddfe63
Bump metrics-recorder-text to 0.2.0 2019-05-01 10:38:20 -04:00
Toby Lawrence b4fc5b0c93
Bump metrics-core to 0.3.1 2019-04-30 09:07:58 -04:00
Toby Lawrence a67680327a
Remove extraneous import. 2019-04-30 09:07:31 -04:00
Toby Lawrence 8b7088d0d9
Bump metrics-core to 0.3.0 2019-04-30 09:04:15 -04:00
Toby Lawrence 7063b552fc
Add documentation to the exporters/recorders facade modules. 2019-04-30 09:04:03 -04:00
Toby Lawrence f699b5ad04
Merge pull request #8 from metrics-rs/tobz/facade-modules
Add snapshot traits and expose exporters/recorders from metrics.
2019-04-29 22:17:29 -04:00
Toby Lawrence 1ebfc9cf49
Fixing up PR feedback. 2019-04-29 22:16:48 -04:00
Toby Lawrence caba3089f2
Use error! directly instead of log! 2019-04-26 14:21:44 -04:00
Toby Lawrence fe6a12330d
Simplify core trait names + add associated type constraints. 2019-04-26 14:20:40 -04:00
Toby Lawrence 55d1708e10
Add snapshot traits and expose exporters/recorders from metrics.
We now expose all exporters and recorders via facade modules in the
metrics crate, called metrics::exporters and metrics::recorders,
respectively.  This means that the metrics crate itself has these are
optional dependencies, which are included by the default set of
features, and so can be turned off by consumers.

To curtail the issue of cyclical dependencies, we've also introduced
three new traits: MetricsSnapshot, SnapshotProvider, and
AsyncSnapshotProvider.

These traits let us represent metrics::Controller and
metrics::data::snapshot::Snapshot in the exporter, allowing us to get
around the cyclical dependency but also expose more flexibility and
modularity.
2019-04-25 12:59:37 -04:00
Toby Lawrence acc64d299a
Merge pull request #7 from metrics-rs/tobz/fix-license-and-lucio
Fix the license and add Lucio to the Code of Conduct.
2019-04-24 08:12:11 -04:00
Toby Lawrence 5e3540e823
Small UI tweak to the CoC. 2019-04-24 08:09:13 -04:00
Toby Lawrence cb290bfc1f
Add back the license attribution to Brian Martin for tic. 2019-04-24 08:08:04 -04:00
Toby Lawrence c073b2d417
Fix up the CoC and make it consistent + add license. 2019-04-24 08:06:48 -04:00
Toby Lawrence 6c9ae9c85b Merge branch 'tobz/init-workspace' 2019-04-23 21:43:14 -04:00
Toby Lawrence 9fd26c1ce5 pull new crates into workspace 2019-04-23 21:42:40 -04:00
Toby Lawrence caa09f15fe commit metrics-exporter-log v0.1.0 2019-04-23 21:40:56 -04:00
Toby Lawrence 7e302ed305 commit metrics-recorder-prometheus v0.1.0 2019-04-23 21:12:20 -04:00
Toby Lawrence 6317906b96 commit metrics-recorder-text v0.1.0 2019-04-23 20:54:45 -04:00
Toby Lawrence fdf816e9b3 commit metrics-util v0.1.0 2019-04-23 16:32:28 -04:00
Toby Lawrence 73a3eb988f tweaks to metrics/ 2019-04-23 14:48:33 -04:00
Toby Lawrence 74062e58c1 bump metrics-core to 0.2.0 2019-04-23 14:39:47 -04:00
Toby Lawrence d405cdeaf2 Clean up the benchmark a little bit. 2019-04-05 11:39:30 -04:00
Toby Lawrence a2769cd65e
one final name change for the road :) 2019-04-03 00:32:45 -04:00
Toby Lawrence 6b9818b005
A lot of documentation and syntax cleanups. 2019-04-03 00:30:24 -04:00
Toby Lawrence c58d1fe8c0
working commit of hotmic->metrics, with API changes to support metrics-core 2019-03-28 21:04:08 -04:00
Toby Lawrence 99ccc7efff
Initial workspace config + metrics-core. 2019-03-26 08:41:12 -04:00
Toby Lawrence e45d21a85f
Initial commit. 2019-03-26 08:36:44 -04:00