Skip to content
/ shawk Public

[PoC] A socket-based tracing system for discovering network service dependencies. (renamed from transtracer)

License

Notifications You must be signed in to change notification settings

yuuki/shawk

Repository files navigation

Transtracer

Build Status Latest Version Go Report Card License

Transtracer is a tracing infrastructure for discovering network services dependecies on the transport network layer.

System Overview

System structure Socket diagnosis

Requirements

  • OS: Linux
  • RDBMS: PostgreSQL 10+

Usage

ttracerd

# ttracerd --dbuser ttracer --dbpass ttracer --dbhost 10.0.0.20 --dbname "ttctl"

Make ttracer run once.

# ttracerd --once --interval-sec 3 --dbuser ttracer --dbpass ttracer --dbhost 10.0.0.20 --dbname "ttctl"

ttctl

$ ttctl --dbhost 10.0.0.20 --ipv4 10.0.0.10
10.0.0.10:80 (’nginx’, pgid=4656)
└<-- 10.0.0.11:many (’wrk’, pgid=5982) 10.0.0.10:80 (’nginx’, pgid=4656)
└--> 10.0.0.12:8080 (’python’, pgid=6111) 10.0.0.10:many (’fluentd’, pgid=2127)
└--> 10.0.0.13:24224 (’fluentd’, pgid=2001)

License

MIT

Author

yuuki