https://github.com/yuuki/mftracer
[WIP] A CLI visualizer for distributed dependency graph by TCP port tracing
https://github.com/yuuki/mftracer
mackerel monitoring netstat network-graph network-monitoring tracing
Last synced: 9 months ago
JSON representation
[WIP] A CLI visualizer for distributed dependency graph by TCP port tracing
- Host: GitHub
- URL: https://github.com/yuuki/mftracer
- Owner: yuuki
- License: mit
- Created: 2018-03-23T00:24:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T14:45:20.000Z (over 7 years ago)
- Last Synced: 2025-04-12T07:45:28.485Z (9 months ago)
- Topics: mackerel, monitoring, netstat, network-graph, network-monitoring, tracing
- Language: Go
- Homepage:
- Size: 1.22 MB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mftracer
[license]: https://github.com/yuuki/lstf/blob/master/LICENSE
## Architecture Overview
```ascii
+-----------+
| mftracerd |----------+
+-----------+ | PutItem
V
+-----------+ +-----------------+ +-----------------+
| mftracerd |------>| Kinesis Streams | ---> | Lambda function |
+-----------+ +-----------------+ +-----------------+
^ |
+-----------+ | | INSERT or UPDATE
| mftracerd |----------+ V
+-----------+ +----------+ SELECT +-----------------+
| mftracer |<--------| Postgres Aurora |
+----------+ ^ +-----------------+
|
| API
+----------+
| Mackerel |
+----------+
```
## Usage
```shell
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)
...
```
```shell
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] License.
## Author
[yuuki](https://github.com/yuuki)