Crates.io | gauges |
lib.rs | gauges |
version | 0.1.0 |
source | src |
created_at | 2023-03-23 00:22:38.710893 |
updated_at | 2023-03-31 00:00:06.643559 |
description | A tool to visualize real time gauges |
homepage | https://github.com/alepez/gauges |
repository | https://github.com/alepez/gauges |
max_upload_size | |
id | 817628 |
size | 170,011 |
A dashboard for real-time data visualization.
If you have a rust toolchain, just clone this project and from the root directory:
cargo install --path .
Create a gauges.toml
file (see example) and launch gauges-server
In the examples
directory you can find some examples of Rust clients:
canbus
: read signals from CAN bus and send them to gauges-server
client
: generate fake data and send them to gauges-server
You can easily send telemetry data to gauges-server
, even without a Rust
client.
You just need to open a TCP socket and send some json message with newline delimiter.
Example, from bash:
while sleep 1; do
echo "{\"record\":{\"value\":{\"Float\":$( date +%S )}},\"id\":{\"Num\":1}}";
done | nc localhost 9999