Documentation
¶
Overview ¶
Command mdot turns an mtail program AST into a graphviz graph on standard output.
To use, run it like (assuming your shell is in the same directory as this file)
go run github.com/google/mtail/cmd/mdot --prog ../../examples/dhcpd.mtail | xdot -
or
go run github.com/google/mtail/cmd/mdot --prog ../../examples/dhcpd.mtail --http_port 8080
to view the dot output visit http://localhost:8080
You'll need the graphviz `dot' command installed.
Click to show internal directories.
Click to hide internal directories.