See this post How to install New Relic Monitoring on how to install New Relic & how to add this code to your Laravel/Lumen application
Created
April 16, 2015 10:54
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
|-------------------------------------------------------------------------- | |
| 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