BedrockStreaming / StatsdBundle

Symfony bundle proving a statsd service and smooth integration in sf2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

disable sending stats based on the environment

dadamssg opened this issue · comments

Is there a way to configure the bundle to not send stats if the application is being run in modes other than prod? I'd like to run my test suite without sending a lot of false data to my production statsd server.

you can configure m6_statsd only in the production config file : app/config/config_prod.yml

to disable it on a specific configuration, this should work :

m6_statsd: ~

oh ok great. Thanks!