Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 879 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 879 Bytes

This repository is a web server / visualization that visualizes traces in Mesos. This is built upon the traces work done here http://github.com/tnachen/mesos/tree/libprocess_trace

###To start mesos with trace enabled Grab the source tree and build mesos, then start mesos-master and mesos-slave with MESOS_TRACE_ENABLED=1 env variable.

###To ingest local data into redis:

This assumes all the tracing data is installed into a local redis instance.

$ tail -f -c +1 <path> | python -u populate_trace_db.py

###To compile Go binary:

$ go get -u
$ go build

###To start services

Start the redis server (default localhost on port 6379)

Start Go server (default 0.0.0.0 on port 3000)

$ ./mesos_traces_vis -p <port> -r <redis ip:port>

Access traces at http://<ip>:<port>

###To use in a containerized environment

$fig up