You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 years ago | |
---|---|---|
rancher | 7 years ago | |
sharelatex | 7 years ago | |
sysdig | 7 years ago | |
.envrc | 7 years ago | |
.gitignore | 7 years ago | |
Makefile | 7 years ago | |
README.md | 7 years ago | |
benchmark.rb | 7 years ago | |
capture-connections.lua | 7 years ago | |
captured-connections.tsv | 7 years ago | |
main.go | 7 years ago | |
sysdig.sh | 7 years ago | |
tech-support.jpg | 7 years ago |
README.md
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