docker2influx

command module
v0.0.0-...-9b98f5e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2015 License: MIT Imports: 10 Imported by: 0

README

docker2influx

Push internal state of docker deamon, process information and golang scheduler to influxdb.

Installation

go get github.com/ppalucki/docker2influx

How to use

Start docker daemon with:

GODEBUG=schedtrace=1000 sudo -E ./dockerb daemon --host :8080 --log-level error --exec-root=`pwd`/tmp/run/docker --graph=`pwd`/tmp/lib/docker 2>&1 |tee docker.log

Start collector like this:

DOCKER_LOG="/home/ppalucki/work/go15/src/github.com/docker/docker.log" DOCKER_HOST="tcp://127.0.0.1:8080" TAGS=",version=v193,net=none" DOCKER_PID=`sudo lsof -t -sTCP:LISTEN -i :8080` docker2influx

Collected data

  • containers
  • goroutines
  • threads
  • rss
  • vmsize
  • gomaxprocs
  • idleprocs
  • idlethreads
  • runqueue
  • spinningthreads

example grafana dashboard

here

Documentation

Overview

DOCKER_LOG="/home/ppalucki/work/go15/src/github.com/docker/docker.log" DOCKER_HOST="tcp://127.0.0.1:8080" TAGS=",version=v193,net=none" DOCKER_PID=`sudo lsof -t -sTCP:LISTEN -i :8080` ./docker2influx

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL