Squid counters to graphite gateway.
-
Install go
-
Install "graphite-golang" go get -u github.com/marpaia/graphite-golang
-
Install "go-logging" go get -u github.com/op/go-logging
-
Compile graphite-squid
git clone git://github.com/akashihi/graphite-squid.git cd graphite-squid go build .
Generally:
graphite-squid -host localhost -port 3128 -metrics-host 192.168.1.1 -metrics-port 2003 -metrics-prefix test -period 60
All parameters could be omited. Run with --help to het parameters description
See LICENSE file.
Copyright 2015 Denis V Chapligin akashihi@gmail.com