Skip to content

Instantly share code, notes, and snippets.

@mabasic
Created April 16, 2015 10:54
Show Gist options
  • Save mabasic/25d0e4a57a6d60e126bb to your computer and use it in GitHub Desktop.
Save mabasic/25d0e4a57a6d60e126bb to your computer and use it in GitHub Desktop.
Add this to your PHP Application to set Application Name for New Relic monitoring.
/*
|--------------------------------------------------------------------------
| New Relic App Name
|--------------------------------------------------------------------------
|
| If the extension `newrelic` is loaded then
| set the name of the app to something.
|
*/
if (extension_loaded('newrelic'))
{
newrelic_set_appname('Adriatica');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment