forked from grafana/carbon-relay-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcarbon-relay-ng.ini
20 lines (18 loc) · 1014 Bytes
/
carbon-relay-ng.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
instance = "default"
listen_addr = "0.0.0.0:2003"
admin_addr = "0.0.0.0:2004"
http_addr = "0.0.0.0:8081"
spool_dir = "/var/spool/carbon-relay-ng"
#one of critical error warning notice info debug
log_level = "notice"
# put init commands here, in the same format as you'd use for the telnet interface
init = [
"addBlack filter-out-all-metrics-matching-this-substring",
"addRoute sendAllMatch carbon-default 127.0.0.1:2005 spool=true pickle=false",
"addRoute sendAllMatch carbon-tagger sub== 127.0.0.1:2006", # all metrics with '=' in them are metrics2.0 format for tagger
"addRoute sendFirstMatch analytics regex=(Err/s|wait_time|logger) graphite.prod:2003 prefix=prod. spool=true pickle=true graphite.staging:2003 prefix=staging. spool=true pickle=true"
]
[instrumentation]
# in addition to serving internal metrics via expvar, you can optionally send em to graphite
graphite_addr = "" # localhost:2003 (how about feeding back into the relay itself? :)
graphite_interval = 1000 # in ms