Closed szibis closed 9 years ago
Need actually to prefix the URLS with http://
. Docs are lacking. Sorry :(
Hello, ive been using carbon-zipper for almost a week now, taking a mirror or all prod traffic, and it looks to be working very well, so many thanks :) next week ill start trying to break things.
anyway, as per these comments, would it be possible to get a list of arguments that the app takes?
ive only used:
-c=./zipper.json -p=8080 -stdout -d=3
even if its just a quick list it would be a great help to me, many thanks.
@dgryski thank, yes with http it is working now. Using curl all looks to work well, but i have no time to check if graphite-web will work with single local metrics endpoint.
The only command line flag you're missing is -logdir
, which sets the output directory for the log files.
Also interesting are the values available to be set in the config file, which I've annotated with some comments:
var Config = struct {
Backends []string
MaxProcs int // GOMAXPROCS
Port int // port to listen on
Buckets int // number of buckets for timings aggregations
TimeoutMs int // timeout to wait for a response from the backend
TimeoutMsAfterAllStarted int // timeout to wait after all goroutines to the remote backends for a single metric have started
GraphiteHost string // the destination host to send graphite metrics to
MaxIdleConnsPerHost int // number of idle connections to keep open to carbon backends
ConcurrencyLimitPerServer int // maximum number of concurrent requests for a single server
@szibis graphite does work with a single local backend ,but it needs to be patched to accept localhost. You need the tiny patch listed on http://www.iamsysadmin.ninja/2014/12/graphite-scaling-and-my-evaluation-of.html
Closing. But opening another bug to improve documentation.
Carbonzipper and carbonserver from latest master.
I would like to test this setup next to standard graphite-web setup, but i have some problems.
Config for carbonzipper running on graphite-web/api instances:
Communication is working to carbonserver from carbonzipper hosts:
And nothing in carbonserver logs:
Carbonserver running with such parameters on graphite instances with whipser files - different instances then carbonzipper:
From what i was able to get from code, configs should looks like i describe. What is wrong with that setup ? Any suggestions ?