Skip to content

tnachen/mesos_traces_vis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published