How to get synthetics monitoring to work in new relic 2023 ?

How to get synthetics monitoring to work in new relic

Sure, let’s dive into more detailed steps for setting up synthetics monitoring in New Relic:

Sign Up and Set Up New Relic Account:

  • If you don’t have a New Relic account, go to and sign up for a new account. You may need to provide some basic information about yourself and your organization.
  • Once signed in, you’ll be taken to the New Relic dashboard.

Enable Synthetics:

  • In the New Relic dashboard, click on “Synthetics” in the main menu on the left-hand side.
  • If Synthetics is not enabled for your account, you will be prompted to enable it. Follow the instructions to enable it.

Create a Monitor:

  • After enabling Synthetics, click on “Create a monitor” to start setting up a new synthetic test.
  • You’ll be presented with options for the type of monitor you want to create: HTTP, Browser, or Simple. Choose the appropriate type for your use case:

HTTP Monitor:

Use this type to monitor specific URLs or endpoints. It sends HTTP requests to the specified URL and measures the response time and status.

Browser Monitor:

This type uses a headless browser to interact with your web application, simulating user interactions like clicking buttons and filling forms. It provides a more realistic user experience monitoring.

Simple Monitor:

  • A lightweight monitor that can be used for basic uptime checks without the need for complex configurations.
  • Depending on the monitor type, you’ll be asked to provide specific details, such as:

For HTTP Monitor:

  • The URL you want to monitor.
  • Test locations (select one or more geographical locations from which you want to run the test).
  • Frequency of test runs (how often the test should be executed).
  • Optionally, you can add assertions to verify specific conditions during the test.

For Browser Monitor:

  • The URL to visit and interact with.
  • Locations, frequency, and optionally, assertions.

For Simple Monitor:

  • Provide the URL to check.
  • Choose the locations and frequency.

Add Assertions (Optional):

For HTTP and Browser Monitors, you can add assertions to validate specific conditions during the test. For example:

  • Check for the presence or absence of certain text on the page.
  • Verify that the HTTP status code is as expected.
  • Validate the response time is within an acceptable range.
  • Assertions help you ensure your application is functioning correctly and catch potential issues.

Save and Run the Monitor:

  • After configuring the monitor and adding assertions (if applicable), click on “Save” to save the configuration.
  • You can then manually run the monitor to check if everything is set up correctly. Click on “Run this monitor now” to initiate the test.

View Results and Alerts:

  • As your synthetic tests run, New Relic will collect data and display it in the Synthetics section of your dashboard.
  • You can view the results of each test run, including response times, success rates, and any failures or errors encountered during the tests.
  • Configure alerts to be notified when certain conditions are met, such as when the monitor fails or when response times exceed a specific threshold.

Integrate with Other New Relic Products:

  • New Relic offers a suite of products for comprehensive application performance monitoring and infrastructure monitoring.
  • You can integrate your synthetic monitoring data with other New Relic products to get a holistic view of your application’s health and performance.

That’s a detailed overview of setting up synthetics monitoring in New Relic. It allows you to proactively monitor your applications from different locations and detect potential issues before they impact your end-users.

Leave a Reply

Your email address will not be published. Required fields are marked *