Distributed State Visualizer
Dviz visualises the states of distibuted systems by analyzing a log of their states. The states of systems are logged and analyzed using Dinv, and visualizes them as a line graph using gnuplot.
Dviz can be installed using the go tool
go get github.com/wantonsolutions/Dviz
go install
Dviz relies on Dinv GoVector Gnuplot
Dviz generates its vizualization by analyzing a json file of a distributed systems execution. To generate the json run a Dinv instrumented system to generate logs. Then run
dinv -l -json *d.txt *g.txt
To run Dviz in server mode and serve out a defalut file run
Dviz -fast=true -file=test/slowinput.json -s=true -itt=20
To generate a json of the systems distributed state. Dviz takes the json file as a command line argument.
Dviz output.json
The result of running Dviz is a graph of the distributed state. Try running Dviz on the json's in the [example](https://github.com/wantonsolutions/Dviz/tree/master/examples) directory for sample output.