tic

Crates.iotic
lib.rstic
version0.6.0
sourcesrc
created_at2016-07-20 16:09:27.992691
updated_at2018-07-06 16:06:29.24849
descriptiona high-performance stats library focused on rates and latencies from timestamped events
homepagehttps://github.com/brayniac/tic
repositoryhttps://github.com/brayniac/tic
max_upload_size
id5732
size88,225
Brian Martin (brayniac)

documentation

https://docs.rs/tic

README

tic - time interval counts and statistics

a high-performance stats library focused on rates and latencies from timestamped events

conduct-badge travis-badge downloads-badge release-badge license-badge

Code of Conduct

NOTE: All conversations and contributions to this project shall adhere to the Code of Conduct

Usage

The API documentation of this library can be found at docs.rs/tic

Performance and Example

Performance is a top-priority. To test performance, we use tic to benchmark itself.

cargo run --release --example benchmark -- --help
cargo run --release --example benchmark

Features

  • high throughput - millions of samples per second
  • latched histogram - for analyzing the full distribution of sample lengths
  • heatmaps - to generate distribution traces and waterfalls
  • meters - to expose readings for client usage
  • http metrics - simple metrics on http for scraping and monitoring, Prometheus compatible
  • generic - channel type is generic, and used to label the type of sample
  • flexible - per channel stats are accessible by registering appropriate Interests

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 124

cargo fmt