Skip to content

Instantly share code, notes, and snippets.

@DominicWatts
Last active September 12, 2024 15:52
Show Gist options
  • Select an option

  • Save DominicWatts/55ff3dd3071c0cdf97aa10104bf5024c to your computer and use it in GitHub Desktop.

Select an option

Save DominicWatts/55ff3dd3071c0cdf97aa10104bf5024c to your computer and use it in GitHub Desktop.
magento 2 : verify new relic #magento2

New Relic

Verify daemon

ps -ef | grep newrelic-daemon

status

/etc/init.d/newrelic-daemon status

php

php -i | grep "newrelic"

[...]
/etc/php.d/newrelic.ini
newrelic
newrelic.daemon.address => @newrelic
newrelic.daemon.app_connect_timeout => no value
newrelic.daemon.app_timeout => no value
newrelic.daemon.auditlog => no value
newrelic.daemon.collector_host => no value
newrelic.daemon.dont_launch => no value
newrelic.daemon.location => /usr/bin/newrelic-daemon
newrelic.daemon.logfile => /var/log/newrelic/newrelic-daemon.log
[...]

php -m | grep "newrelic"

Docs

PHP components

Our PHP agent consists of two basic components:

  • A PHP extension, which collects data from your application
  • A local proxy daemon, which transmits the data to New Relic

Your system's configuration components, including the web server, operating system, system permissions, PHP installation itself, package manager, etc., are all important factors during installation and configuration, because the agent is a part of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment