instructions

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2 files changed
tree: 57ab44f2fda6fb0f2332bdda568c4d06e97e7cfd
  1. .dockerignore
  2. .gitignore
  3. Dockerfile
  4. LICENSE
  5. Makefile
  6. README.md
  7. strace-process.sh
  8. strace.py
  9. strace2elastic.py
  10. strace_utils.py
README.md

strace2elastic

Strace container output to a file, then shove the syscalls into elastic search.

$ strace2elastic.py
Usage: strace2elastic.py [OPTIONS] [FILE]

Options:
  -h, --help                        Print this help message and exit
  -e, --elastichost HOST:PORT       Elastic search instance
  -c, --container   CONTAINER_NAME  Container name

Just add strace-process.sh as a PostStart hook in your runc runtime config. See jfrazelle/containers/notify-osd/runtime.json as an example.

Huge thanks to dirtyharrycallahan/pystrace