Go to file
2016-06-28 08:56:46 +02:00
rancher first commit 2016-04-13 14:17:46 +02:00
sharelatex change default user 2016-06-15 10:38:28 +00:00
sysdig tune performance; more robust selnium 2016-05-09 15:33:33 +00:00
.envrc first commit 2016-04-13 14:17:46 +02:00
.gitignore first commit 2016-04-13 14:17:46 +02:00
benchmark.rb tune performance; more robust selnium 2016-05-09 15:33:33 +00:00
capture-connections.lua tune performance; more robust selnium 2016-05-09 15:33:33 +00:00
captured-connections.tsv first commit 2016-04-13 14:17:46 +02:00
main.go tune performance; more robust selnium 2016-05-09 15:33:33 +00:00
Makefile first commit 2016-04-13 14:17:46 +02:00
README.md add better description 2016-06-28 08:56:46 +02:00
sysdig.sh tune performance; more robust selnium 2016-05-09 15:33:33 +00:00
tech-support.jpg change payload for sharelatex 2016-06-15 10:38:08 +00:00

Get microservice callgraph

Dependencies:

  • Sysdig
  • go
  • rancher (only in the current setup)
  • sharelatex (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