tnachen / mesos_traces_vis

Visualize Mesos traces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Visualize Mesos traces


Languages

Language:JavaScript 78.8%Language:HTML 11.9%Language:Go 7.2%Language:Python 2.1%