#dashboard #logging

yanked senstate

Client library to communicate with Senstate, a debugging dashboard

0.0.1 Oct 16, 2019

#65 in #dashboard

MIT/Apache

22KB
207 lines

Senstate - Rust client

Rust 🦀 client library to communicate with Senstate, a debugging dashboard.

This library is in very early stages and considered experimental. Therefore it should not be used in any production level applications. Expect this crate's API to change frequently.

Usage

Add this to your Cargo.toml:

[dependencies]
senstate = "0.0.1"

Examples

Currently a few simple examples exist. Please find them in the examples folder or directly run them with cargo run --example <example-name>.

  • simple: This basic sample creates a new client, adds a watcher for each value type and then reports values periodically to Senstate.

  • multithreaded: A sample using multiple threads to report values individually.

  • stresstest: Meant as a stress test to try out the speed of Senstate and the most complex example so far. It can be configured with CLI arguments to try different workloads.

Dependencies

~6MB
~145K SLoC