[WIP] A CLI visualizer for distributed dependency graph by TCP port tracing
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_tools
agent
cmd
collector
data
db
env
registry
stacks/vpc
vendor
.gitignore
CREDITS
Dockerfile
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md
docker-compose.yml
sam.yaml

README.md

mftracer

Architecture Overview

+-----------+
| mftracerd |----------+
+-----------+          | PutItem
                       V
+-----------+       +-----------------+      +-----------------+
| mftracerd |------>| Kinesis Streams | ---> | Lambda function |
+-----------+       +-----------------+      +-----------------+
                       ^                              |
+-----------+          |                              | INSERT or UPDATE
| mftracerd |----------+                              V
+-----------+           +----------+  SELECT +-----------------+
                        | mftracer |<--------| Postgres Aurora |
                        +----------+    ^    +-----------------+
                                        |
                                        | API
                                   +----------+
                                   | Mackerel |
                                   +----------+

Usage

mftctl --level 2 --dest-ipv4 10.0.0.21
10.0.0.21
└<-- 10.0.0.22:many (connections:30)
└<-- 10.0.0.23:many (connections:30)
└<-- 10.0.0.24:many (connections:30)
	└<-- 10.0.0.30:many (connections:1)
	└<-- 10.0.0.31:many (connections:1)
└<-- 10.0.0.25:many (connections:30)
...
mftctl --dest-service blog --dest-roles redis --dest-roles memcached
blog:redis
└<-- 10.0.0.22:many (connections:30)
└<-- 10.0.0.23:many (connections:30)
└<-- 10.0.0.24:many (connections:30)
	└<-- 10.0.0.30:many (connections:1)
	└<-- 10.0.0.31:many (connections:1)
└<-- 10.0.0.25:many (connections:30)
blog:memcached
└<-- 10.0.0.23:many (connections:30)
└<-- 10.0.0.25:many (connections:30)
...

License

MIT License.

Author

yuuki