From 69693acea002a52b8b3fb4606eab3dd189eaf501 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 18 Feb 2014 10:38:15 +0100 Subject: [PATCH] Add statsd prefix in example configs --- config/environments/development.js.example | 3 ++- config/environments/production.js.example | 3 ++- config/environments/staging.js.example | 3 ++- config/environments/test.js.example | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 95c42a6d..aec4d481 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -63,7 +63,8 @@ var config = { ,mapnik_version: undefined ,statsd: { host: 'localhost', - port: 8125 + port: 8125, + prefix: 'dev.' // support all allowed node-statsd options } ,renderer: { diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 12035c60..0eb032d7 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -57,7 +57,8 @@ var config = { ,mapnik_version: undefined ,statsd: { host: 'localhost', - port: 8125 + port: 8125, + prefix: '', // could be hostname, better not containing dots // support all allowed node-statsd options } ,renderer: { diff --git a/config/environments/staging.js.example b/config/environments/staging.js.example index d56a6895..9a43adae 100644 --- a/config/environments/staging.js.example +++ b/config/environments/staging.js.example @@ -57,7 +57,8 @@ var config = { ,mapnik_version: undefined ,statsd: { host: 'localhost', - port: 8125 + port: 8125, + prefix: 'stage.' // support all allowed node-statsd options } ,renderer: { diff --git a/config/environments/test.js.example b/config/environments/test.js.example index 8fb72d63..5c603efd 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -57,7 +57,8 @@ var config = { ,mapnik_version: '' ,statsd: { host: 'localhost', - port: 8125 + port: 8125, + prefix: 'test.' // support all allowed node-statsd options } ,renderer: {