Skip to content
Advertisement

Tag: newrelic

NewRelic not capturing database queries

NewRelic not capturing database queries. Other queries are ok, that is a signal that the agent is running and everything is ok. However, I can not see the database queries on the explorer, I just have the PHP agent. Do I need the database agent running? Answer Check out the PHP agent docs to validate if your service is running

docker php8.0-apache new relic – Unable to load dynamic library ‘newrelic.so’

I’m trying to run new relic in docker with php8.0-apache image. I follow instruction by: https://docs.newrelic.com/docs/agents/php-agent/advanced-installation/docker-other-container-environments-install-php-agent/ When I start container and see PHP warning Dockerfile: Thank you for any help. Answer check if there is any newrelic.ini file and remove it. navigate to /etc/php5/cli/conf.d/ and delete all corresponding *.ini files. This should resolve your problem.

How to see full query in New Relic

When I go to APM > Applications > PHP Application > Databases it shows the list of queries and their performance. But the queries are shown like

select. How can I see the full query?…

Advertisement