New Relic monitor

This section explains how to use the New Relic monitor. The New Relic monitor provides information on the availability and performance of software applications and the impact on user experience measured by the New Relic Digital Intelligence Platform, an application performance monitoring tool.

Set up the New Relic monitor

This task describes how to set up the New Relic monitor.

  1. Prerequisites

    Below is a list of prerequisites that are required to use this monitor:

    • You need to use a supported version of New Relic. For the supported server versions, see the Integrations section of the System Requirements guide.

    • Since New Relic is a cloud-based application, if you use a corporate proxy on your network, you need to set up a web proxy to collect data from it.

      1. To do so, open the following files in a text editor on the LoadRunner Enterprise server:

        • PCWEB\Web.config

        • bin\MEApplication.exe.config

        and add the following under the configuration > system.net section of the file:

        <system.net>
          <defaultProxy enabled="true">
        <proxy proxyaddress="http://<PROXY_ADDRESS>:<PORT>" bypassonlocal="True" />
        </defaultProxy>
        </system.net>
      2. Restart IIS after adding the proxy in the PCWEB\Web.config file (type 'iisreset' in a command line).

  2. Select a resources folder

    Select a resources folder for the monitor profile in the resources tree, or create a new folder as follows:

    1. From the LoadRunner Enterprise navigation toolbar, click and select Monitors (under Assets).

    2. Click New Folder and enter a name for the monitor resources folder.

  3. Create a monitor profile

    1. Click New Monitor Profile, and make sure Monitor Profile is selected.

    2. Enter a name and optional description for the monitor profile, and click Save. An empty monitor profile is added to the selected resources folder.

    3. Select the monitor profile you just added and click Add Monitor.

    1. Select the New Relic monitor type.

      Click Next and enter the server details:

      UI Elements

      Description

      API Key

      Enter the API key of the New Relic server.

      Application Filter (Optional) Enter a string by which to filter the list of application monitored by New Relic.
      Application

      Select the application that you want to monitor. If you entered an application filter, only applications matching the filter string are listed. Clear the filter to display all available applications monitored by New Relic.

    2. Click Get Counters to display a list of available metrics and counters per metric from the selected New Relic application.

      Select the measurements that you want to monitor, and then click to add the counters to the Selected Counters table.

      For detailed information on the performance measurements that New Relic can monitor, refer to the New Relic documentation.

      For New Relic API keys, see https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/api-keys.

    3. Click Save. The monitor details are displayed in the Monitors tab for the selected monitor profile.

  4. Associate the monitor with your test

    For details, see Step 4: Associate monitors with your test.

Back to top

Notes and limitations

New Relic is a cloud-based solution, and as a result is more likely to have longer latency. The New Relic default sampling rate is every 1 minute. This means that data is slightly delayed in arriving relative to other monitors which provide a much more granular data sampling. It also affects the time it takes to fetch data from New Relic when configuring the monitor profile.

Back to top

See also: