This guide describes how to add New Relic's world-class performance monitoring to your Azure hosted applications. We'll cover the fast and simple process to add New Relic to your application and introduce you to some of New Relic's features. For more information about using New Relic, see Using New Relic.
New Relic is a developer focused tool that monitors your production applications and provides deep insight into their performance and reliability. It is designed to save you time when identifying and diagnosing performance issues, and it puts the information you need to solve these issues at your fingertips.
New Relic tracks the load time and throughput for your web transaction, both from the server and your users' browsers. It shows how much time you spend in the database, analyzes slow queries and web requests, provides uptime monitoring and alerting, tracks application exceptions, and a whole lot more.
New Relic Standard is free to Azure users New Relic Pro is offered based on instance size for Azure Cloud Services
For pricing information see the New Relic page in the Azure Store.
Pricing is only listed for up to 10 compute instances. For counts greater than 10 please contact New Relic (email@example.com) for volume pricing.
Azure customers receive a 2 week trial subscription of New Relic Pro when they deploy the New Relic agent.
New Relic integrates seamlessly with Azure Web Roles and Worker roles.
To sign up for New Relic directly from the Azure Store, follow these three easy steps.
Open your Visual Studio solution, or create a new one by selecting File > New > Project.
If you don't already have an Azure Cloud Service Project in your solution, add one by right-clicking your app in the Solution Explorer and selecting Add Azure Cloud Service Project.
Open the Package Manager console by selecting Tools > Library Package Manager > Package Manager Console. Set your project to be the Default Project at the top of the Package Manager Console window.
On the Package Manager command prompt, type
NewRelicWindowsAzure and press Enter.
At the license key prompt, enter the license key you received from the Azure Store.
Optional: At the application name prompt, enter your app's name as it will appear in New Relic's dashboard. Or, use your solution name as the default.
From the Solution Explorer, right-click your Azure Cloud Service Project, and select Publish.
Note: If this is your first time deploying this app to Azure, you will be prompted to enter your Azure credentials. For more information, see Deploying an ASP.NET Web Application to an Azure Website
To view your New Relic dashboard:
From the New Relic menu bar, select Applications > (application's name).
The Monitoring > Overview dashboard automatically appears.
After you select an app from the list on your Applications menu, the Overview dashboard shows current app server and browser information.
After you select your app from the list on the Applications menu, the Overview dashboard shows current app server and browser information. To toggle between the two views, click the App server or Browser button.
|If you want to...||Do this...|
|Show dashboard information for the selected app's server or browser.||Click the App Server or Browser button.|
|View threshold levels for your app's Apdex score.||Point to the Apdex score ? icon.|
|View worldwide Apdex details.||From the Overview's Browser view, point anywhere on the Global Apdex map. Tip: To go directly to the selected app's Geography dashboard, click the Global Apdex title, or click anywhere on the Global Apdex map.|
|View the Web Transactions dashboard.||Click the Web Transactions table on the Applications Overview dashboard. Or, to view details about a specific web transaction (including Key Transactions, click its name.|
|View the Errors dashboard.||Click the Error rate chart's title on the Applications Overview dashboard. Tip: You can also view the Errors dashboard from Applications > (your app) > Events > Errors.|
Additionally, if you want to view the app's server details, do any of the following:
Below is an example of the Applications Overview dashboard when you select the Browser view.
Check out these additional resources for more information: