Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collectors does not work when kernel debug is false in preprod and prod env #55

Open
seisler opened this issue Oct 8, 2015 · 4 comments

Comments

@seisler
Copy link

seisler commented Oct 8, 2015

Hi,

I noticed that in the preprod and prod environments collectors does not work when kernel debug is false.

So, I need to have the kernel debug to false and at the same time use the collectors. Is that possible?

Thanks.

@liuggio
Copy link
Owner

liuggio commented Oct 24, 2015

really sorry for the delay,
I hope you found the problem...

@seisler
Copy link
Author

seisler commented Oct 24, 2015

I'm still blocked. :( when I have the kernel debug = false the collectors not work in preProd and Prod environments.

Maybe is necessary the framework profiler to work?

Thanks

@dav-m85
Copy link
Collaborator

dav-m85 commented Oct 30, 2015

Hi @seisler, when you write "not working", do you mean the data is not sent to statsd or that the collector is not capturing the data ?

Do you have datapoints in the syslog ? That's where the collector is sending its values in debug mode. If that's the case (more info here), just change your configuration: :

# app/config/config.yml
liuggio_stats_d_client:
  connection:
    debug: true   # use false if you want to disable debugging and shot packet over Socket

@seisler
Copy link
Author

seisler commented Oct 31, 2015

Hi @dav-m85.

When I say that the collectors are not working it means that the collectors are not capturing the data. Is like if the event listener is not listening for the kernel events.

My prod config:

liuggio_stats_d_client:
connection:
host: 127.0.0.1
port: 8127
protocol: udp
reduce_packet: true
fail_silently: true
debug: false
enable_collector: true
collectors:
liuggio_stats_d_client.collector.dbal: 'prod.queries'

In prod environment:

debug: false
framework profiler: off

When I set to true the kernel debug in prod it works

Thanks for the help. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants