Really, really simple terminal-based time-series data recorder and plotter.
I have quite a few scripts which inject data into off-the-shelf apps, generate reports, compare data in various systems and more. All the usual fun things you do when you're working with a pile of legacy infrastructure (and cleaning it up).
This helps me track how many issues there are over time and quickly and easily identify when large changes happen.
```bash
$ trk add-series -n inv.req.time -u ms $ trk add-series -n devices.alive
$ trk add-series Series Name: services.provisioned Input Unit (eg ms, bps): svc Created services.valid
$ trk add -s inv.req.time 9 $ trk add -s inv.req.time 8 $ trk add -s inv.req.time 9
$ cat <
$ cat points.txt | trk bulk
$ trk add -c -s new.series 20
$ trk -d ~/my-metrics bulk -c < points.txt
$ trk -f app1 add -c -s metric.a 33 $ trk -f app2 add -c -s metric.a 983
$ trk plot -s inv.req.time
$ trk plot -s inv.req.time -t
$ trk plot ```
Send a PR.
I'm fairly new using Rust so I expect that there's a lot which could be fixed. Things which are at the top of my (low-priority) todo list:
See LICENSE file.
Code under src/textplots
is MIT licensed but (C) Alexey Suslov