Skip to content

Commit

Permalink
Merge pull request #333 from graphite-ng/reorder-config
Browse files Browse the repository at this point in the history
reorder things a bit to make more sense
  • Loading branch information
Dieterbe authored Nov 9, 2018
2 parents c7fb2f6 + db76433 commit 61e4a3e
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions examples/carbon-relay-ng.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,34 @@
# ${HOST} : hostname
instance = "${HOST}"

## System ##
# this setting can be used to override the default GOMAXPROCS logic
# it is ignored if the GOMAXPROCS environment variable is set
# max_procs = 2

admin_addr = "0.0.0.0:2004"
http_addr = "0.0.0.0:8081"
spool_dir = "/var/spool/carbon-relay-ng"
pid_file = "/var/run/carbon-relay-ng.pid"
# directory for spool files
spool_dir = "/var/spool/carbon-relay-ng"

## Logging ##
# one of trace debug info warn error fatal panic
# see docs/logging.md for level descriptions
# note: if you used to use `notice`, you should now use `info`.
log_level = "info"

## Admin ##
admin_addr = "0.0.0.0:2004"
http_addr = "0.0.0.0:8081"

## Inputs ##
### plaintext Carbon ###
listen_addr = "0.0.0.0:2003"
# close inbound plaintext connections if they've been idle for this long ("0s" to disable)
plain_read_timeout = "2m"
### Pickle Carbon ###
pickle_addr = "0.0.0.0:2013"
# close inbound pickle connections if they've been idle for this long ("0s" to disable)
pickle_read_timeout = "2m"

## Validation of inputs ##
# Metric name validation strictness for legacy metrics. Valid values are:
# strict - Block anything that can upset graphite: valid characters are [A-Za-z0-9_-.]; consecutive dots are not allowed
Expand All @@ -46,18 +60,6 @@ bad_metrics_max_age = "24h"
blacklist = [
]

## Inputs ##

### plaintext Carbon ###
listen_addr = "0.0.0.0:2003"
# close inbound plaintext connections if they've been idle for this long ("0s" to disable)
plain_read_timeout = "2m"

### Pickle Carbon ###
pickle_addr = "0.0.0.0:2013"
# close inbound pickle connections if they've been idle for this long ("0s" to disable)
pickle_read_timeout = "2m"

### AMQP ###
[amqp]
amqp_enabled = false
Expand Down

0 comments on commit 61e4a3e

Please sign in to comment.