This is a basic kubernetes coupling graph visualizer to evaluate the growth and coupling of microsservice architecture built applications
Need to create link for libpcap.so.1 even if libpcap-dev is installed libpcap.so.1
export GO111MODULE=on
go build -o ./app -ldflags "-s -w" .
To setup the Teastore microsservice architecture dev environment like Teastore, you will need to use a orchestration environment like Kubernetes.
First, you need to turn on the Asynchronous Message System (RabbitMQ) for the Teastore:
kubectl create -f https://raw.githubusercontent.com/DescartesResearch/TeaStore/master/examples/kubernetes/teastore-rabbitmq.yaml
This will be a central logging service that all services will comunicate with.
You need to wait 2 to 5 minutes for the service to become online and running. Then start the instrumented version of the Teastore:
kubectl create -f https://raw.githubusercontent.com/DescartesResearch/TeaStore/master/examples/kubernetes/teastore-ribbon-kieker.yaml
The main services will be available via localhost on ports 30080 (webui) and 30081(logs)
If you are done and want to remove everything, just do:
kubectl delete pods,deployments,services -l app=teastore
With the compiled version of the app on the same machine as the cluster is running, do:
./app
And follow the instructions. Basically you need to use the app and all it's functionalities for some time and then report back to the command line to get the output.