3 unstable releases
0.1.0 | Mar 31, 2023 |
---|---|
0.0.2 | Mar 29, 2023 |
0.0.1 | Mar 23, 2023 |
#467 in Visualization
32 downloads per month
78KB
745 lines
Gauges
A dashboard for real-time data visualization.
Install
If you have a rust toolchain, just clone this project and from the root directory:
cargo install --path .
Usage
Create a gauges.toml
file (see example) and launch gauges-server
Send data
In the examples
directory you can find some examples of Rust clients:
canbus
: read signals from CAN bus and send them togauges-server
client
: generate fake data and send them togauges-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
Dependencies
~14–53MB
~762K SLoC