Add statsd prefix in example configs

This commit is contained in:
Sandro Santilli 2014-02-18 10:38:15 +01:00
parent 3873fdf5db
commit 69693acea0
4 changed files with 8 additions and 4 deletions

View File

@ -63,7 +63,8 @@ var config = {
,mapnik_version: undefined ,mapnik_version: undefined
,statsd: { ,statsd: {
host: 'localhost', host: 'localhost',
port: 8125 port: 8125,
prefix: 'dev.'
// support all allowed node-statsd options // support all allowed node-statsd options
} }
,renderer: { ,renderer: {

View File

@ -57,7 +57,8 @@ var config = {
,mapnik_version: undefined ,mapnik_version: undefined
,statsd: { ,statsd: {
host: 'localhost', host: 'localhost',
port: 8125 port: 8125,
prefix: '', // could be hostname, better not containing dots
// support all allowed node-statsd options // support all allowed node-statsd options
} }
,renderer: { ,renderer: {

View File

@ -57,7 +57,8 @@ var config = {
,mapnik_version: undefined ,mapnik_version: undefined
,statsd: { ,statsd: {
host: 'localhost', host: 'localhost',
port: 8125 port: 8125,
prefix: 'stage.'
// support all allowed node-statsd options // support all allowed node-statsd options
} }
,renderer: { ,renderer: {

View File

@ -57,7 +57,8 @@ var config = {
,mapnik_version: '' ,mapnik_version: ''
,statsd: { ,statsd: {
host: 'localhost', host: 'localhost',
port: 8125 port: 8125,
prefix: 'test.'
// support all allowed node-statsd options // support all allowed node-statsd options
} }
,renderer: { ,renderer: {