New Relic Integration¶
Integrate New Relic with your Pantheon site by following these steps:
- In the Polymer configuration, set
pantheon.new-relic.enable
totrue
. - Run the following command to install required plugins:
polymer pantheon:terminus:plugins:install
- Set up New Relic integration by running:
polymer pantheon:new-relic:setup
What Happens Next?¶
- A Quicksilver script will be installed to flag deployments in New Relic. This script runs on
deploy
andsync_code
events. - The New Relic API key secret will be stored in Pantheon, enabling the Quicksilver script to function.
When a deployment or sync_code
operation occurs, the Git commit of the deployed code will be used as a deployment marker in New Relic for the corresponding environment.
Accessing New Relic Data¶
To view New Relic data for an environment:
- Navigate to the Pantheon dashboard for the environment.
- Click the New Relic tab.
- Click Go to New Relic to access the data.
Tip
Use New Relic to monitor performance, identify bottlenecks, and optimize your site's behavior during deployments.