/telemetry.rs

A library dedicated to measuring data locally (typically, performance) and uploading it to a server to detect anomalies (typically, regressions)

Primary LanguageRustApache License 2.0Apache-2.0

Telemetry.rs

Build Status

Telemetry is a mechanism used to capture metrics in an application, to later store the data locally or upload it to a server for statistical analysis.

Examples of usage:

  • capturing the speed of an operation;
  • finding out if users are actually using a feature;
  • finding out how the duration of a session;
  • determine the operating system on which the application is executed;
  • determining the configuration of the application;
  • capturing the operations that slow down the application;
  • determining the amount of I/O performed by the application;
  • ...

The main abstraction used by this library is the Histogram. Each Histogram serves to capture a specific measurement. Measurements can then be exported, so that applications can save them to disk or upload them to a server. Several types of Histograms are provided, suited to distinct kinds of measures.

API documentation may be found here.

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.