Skip to content
/ mftracer Public

[WIP] A CLI visualizer for distributed dependency graph by TCP port tracing

License

Notifications You must be signed in to change notification settings

yuuki/mftracer

Repository files navigation

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

About

[WIP] A CLI visualizer for distributed dependency graph by TCP port tracing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published