# Get microservice callgraph Dependencies: - [Sysdig](http://sysdig.org/) - go - rancher (only in the current setup) - [sharelatex](https://www.sharelatex.com/) (only in the current setup) This project can obtaining the service graph without any application knowledge by inspecting network related syscalls of processes. In the current form it contains an integration test targeting sharelatex as an application and expect a rancher cluster to resolve ips back to hostnames. This could be generalized later on. The reusable part of this project is probably capture-connections.lua, which can be used to get information from sysdig. ``` $ go get github.com/mic92/clusterssh $ go build . $ wget http://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar $ java -jar selenium-server-standalone-2.53.0.jar $ ./callgraph http://sharelatex.local/login 192.168.8.33 192.168.8.34 192.168.8.35 192.168.8.36 192.168.8.37 192.168.8.38 192.168.8.17 192.168.8.18 192.168.8.19 | dot -Tpng > graph.png ```