How to Set Up Synthetics Monitoring in New Relic


How to Set Up Synthetics Monitoring in New Relic

New Relic’s Synthetics monitoring is a strong software for proactively monitoring the provision and efficiency of your net functions and APIs. By simulating actual consumer site visitors, Synthetics may also help you establish and resolve points earlier than they impression your customers.

On this article, we’ll stroll you thru the steps of organising Synthetics monitoring in New Relic. We’ll cowl the whole lot it’s worthwhile to know, from creating your first monitor to configuring alerts and notifications.

As soon as you have accomplished these steps, you may have a complete Synthetics monitoring system in place that may allow you to maintain your net functions and APIs operating easily.

find out how to get synthetics monitoring to work in new relic

Observe these steps to arrange Synthetics monitoring in New Relic:

  • Create a New Relic account.
  • Set up the New Relic Synthetics agent.
  • Create a Synthetics monitor.
  • Configure monitor settings.
  • Arrange alerts and notifications.
  • Validate your monitor.
  • Monitor your outcomes.
  • Troubleshoot points.

As soon as you have accomplished these steps, you may have a complete Synthetics monitoring system in place that may allow you to maintain your net functions and APIs operating easily.

Create a New Relic account.

To make use of Synthetics monitoring, you may have to create a New Relic account. This can be a free and simple course of that takes only a few minutes.

  • Go to the New Relic web site.

    In your net browser, go to https://newrelic.com and click on the “Signal Up” button.

  • Enter your data.

    Fill out the shape together with your title, e mail tackle, and a password. You will additionally want to pick out a area on your account.

  • Activate your account.

    New Relic will ship you an activation e mail. Click on the hyperlink within the e mail to activate your account.

  • Log in to New Relic.

    As soon as your account is activated, you possibly can log in to New Relic utilizing the e-mail tackle and password you created.

Now that you’ve got a New Relic account, you can begin organising Synthetics monitoring.

Set up the New Relic Synthetics agent.

After you have a New Relic account, it’s worthwhile to set up the New Relic Synthetics agent on the server or VM the place you wish to monitor your utility or API.

  • Obtain the agent.

    Log in to New Relic and go to the Synthetics web page. Click on the “Obtain Agent” button and choose the suitable agent on your working system.

  • Set up the agent.

    Observe the directions within the New Relic documentation to put in the agent. The set up course of will differ relying in your working system.

  • Configure the agent.

    As soon as the agent is put in, it’s worthwhile to configure it to hook up with your New Relic account. You are able to do this by modifying the agent’s configuration file.

  • Restart the agent.

    After you will have configured the agent, it’s worthwhile to restart it to ensure that the adjustments to take impact.

As soon as the agent is put in and configured, it would begin amassing information about your utility or API. This information might be despatched to New Relic, the place you possibly can view it within the Synthetics dashboard.

Create a Synthetics monitor.

Now that you’ve got put in the New Relic Synthetics agent, you possibly can create a monitor to start out monitoring your utility or API.

  • Select a monitor kind.

    New Relic Synthetics gives a wide range of monitor varieties, together with web site displays, API displays, and browser displays. Select the kind of monitor that most closely fits your wants.

  • Configure the monitor.

    After you have chosen a monitor kind, it’s worthwhile to configure the monitor settings. This contains issues just like the URL of the appliance or API you wish to monitor, the frequency of the checks, and the standards for achievement.

  • Save the monitor.

    After you have configured the monitor, click on the “Save” button to save lots of the monitor.

  • Activate the monitor.

    After you will have saved the monitor, it’s worthwhile to activate it to ensure that it to start out amassing information. To activate the monitor, click on the “Activate” button.

As soon as the monitor is activated, it would begin amassing information about your utility or API. This information might be despatched to New Relic, the place you possibly can view it within the Synthetics dashboard.

Configure monitor settings.

Once you configure a Synthetics monitor, there are a selection of settings you could regulate to customise the monitor to your particular wants.

Among the most vital settings embrace:

  • Monitor title: That is the title of the monitor. It needs to be one thing that’s straightforward to recollect and establish.
  • Monitor kind: That is the kind of monitor that you’re creating. New Relic Synthetics gives a wide range of monitor varieties, together with web site displays, API displays, and browser displays.
  • URL: That is the URL of the appliance or API that you just wish to monitor.
  • Frequency: That is how typically the monitor will test the appliance or API. You may select from a wide range of frequencies, starting from each minute to as soon as per day.
  • Timeout: That is the period of time that the monitor will look forward to a response from the appliance or API earlier than contemplating the test to be a failure.
  • Success standards: That is the standards that the monitor will use to find out whether or not a test is profitable or not. For instance, you can specify that the monitor ought to take into account a test to achieve success if the response code is 200.

Along with these settings, there are a selection of different settings you could configure, resembling:

  • Areas: That is the record of places from which the monitor will test the appliance or API. You may select from a wide range of places around the globe.
  • Notifications: That is the record of people that might be notified if the monitor fails. You may specify e mail addresses, cellphone numbers, and Slack channels.
  • Alerts: That is the record of alerts that might be triggered if the monitor fails. You may specify totally different alerts for various kinds of failures.

By fastidiously configuring the monitor settings, you possibly can be sure that the monitor is amassing the information that you just want and that you’re being notified in a well timed method if there’s a drawback.

Arrange alerts and notifications.

After you have created a Synthetics monitor, it’s worthwhile to arrange alerts and notifications with the intention to be notified if the monitor fails.

To arrange alerts and notifications:

  1. Log in to New Relic and go to the Synthetics web page.
  2. Click on on the title of the monitor that you just wish to configure.
  3. Click on on the “Alerts & Notifications” tab.
  4. Within the “Alerts” part, you possibly can configure the next settings:
  • Alert situation: That is the situation that may set off the alert. For instance, you can specify that an alert needs to be triggered if the monitor fails thrice in a row.
  • Alert severity: That is the severity of the alert. You may select from 4 ranges of severity: essential, excessive, medium, and low.
  • Alert recipients: That is the record of people that might be notified when the alert is triggered. You may specify e mail addresses, cellphone numbers, and Slack channels.

Within the “Notifications” part, you possibly can configure the next settings:

  • Notification methodology: That is the tactic that might be used to ship the notification. You may select from e mail, SMS, or Slack.
  • Notification recipients: That is the record of people that will obtain the notification. You may specify e mail addresses, cellphone numbers, and Slack channels.

Click on on the “Save” button to save lots of your adjustments.

After you have arrange alerts and notifications, you may be notified if the monitor fails. This may allow you to to shortly establish and resolve any issues together with your utility or API.

Validate your monitor.

After you have created and configured a Synthetics monitor, you will need to validate the monitor to make sure that it’s working correctly.

To validate your monitor:

  1. Log in to New Relic and go to the Synthetics web page.
  2. Click on on the title of the monitor that you just wish to validate.
  3. Click on on the “Validate” button.
  4. The monitor will run a collection of checks to validate its configuration. If any errors are discovered, they are going to be displayed on the display screen.
  5. If no errors are discovered, the monitor might be thought-about to be legitimate.

You will need to validate your monitor often to make sure that it’s nonetheless working correctly. That is particularly vital after making any adjustments to the monitor’s configuration.

Listed below are some extra ideas for validating your Synthetics displays:

  • Use a wide range of units and browsers to check your monitor.
  • Take a look at your monitor from totally different places around the globe.
  • Use various kinds of information to check your monitor, resembling textual content, photos, and movies.
  • Monitor the outcomes of your checks over time to establish any tendencies or patterns.

By following the following tips, you possibly can be sure that your Synthetics displays are correct and dependable.

Monitor your outcomes.

After you have arrange and validated your Synthetics displays, it’s worthwhile to monitor the outcomes to make sure that your utility or API is performing as anticipated.

To observe your outcomes:

  1. Log in to New Relic and go to the Synthetics web page.
  2. Click on on the title of the monitor that you just wish to view.
  3. The monitor’s dashboard will show a wide range of data, together with:
  • The standing of the monitor (up or down)
  • The variety of checks which were carried out
  • The variety of checks which have failed
  • The response time of the checks
  • The waterfall chart of the checks

You can too use the filters on the high of the dashboard to view the outcomes for a particular time interval or location.

By monitoring the outcomes of your Synthetics displays, you possibly can shortly establish any issues together with your utility or API. This may allow you to to shortly resolve any points and be sure that your utility or API is all the time accessible and acting at its greatest.

Listed below are some extra ideas for monitoring your Synthetics outcomes:

  • Arrange alerts and notifications so that you’re notified if there’s a drawback together with your monitor.
  • Often evaluation the outcomes of your displays to establish any tendencies or patterns.
  • Use the information out of your displays to enhance the efficiency and reliability of your utility or API.

By following the following tips, you possibly can guarantee that you’re getting essentially the most out of your Synthetics displays.

Troubleshoot points.

If you’re having issues together with your Synthetics displays, there are some things you are able to do to troubleshoot the problem:

  1. Test the standing of the monitor.
    The very first thing it is best to do is test the standing of the monitor. If the monitor is down, it won’t be able to gather any information.
  2. View the monitor’s outcomes.
    After you have checked the standing of the monitor, it is best to view the monitor’s outcomes. This may allow you to to establish the particular drawback that’s inflicting the monitor to fail.
  3. Test the monitor’s configuration.
    If you’re unable to establish the issue by viewing the monitor’s outcomes, it is best to test the monitor’s configuration. Make it possible for the monitor is configured appropriately and that the entire required fields are crammed in.
  4. Contact New Relic assist.
    If you’re nonetheless unable to resolve the problem, you possibly can contact New Relic assist for help. New Relic assist is out there 24/7 and may also help you to troubleshoot the problem and get your monitor working correctly.

Listed below are some extra ideas for troubleshooting Synthetics displays:

  • Use the New Relic Synthetics Troubleshooting Information that will help you establish and resolve widespread issues.
  • Allow verbose logging for the Synthetics agent. This may allow you to to establish any errors which can be being generated by the agent.
  • Use a software like Chrome DevTools to debug the requests which can be being made by the Synthetics agent.

By following the following tips, you possibly can shortly and simply troubleshoot any issues together with your Synthetics displays.

FAQ

Listed below are some regularly requested questions on find out how to get Synthetics monitoring to work in New Relic:

Query 1: What’s Synthetics monitoring?
Reply 1: Synthetics monitoring is a software that permits you to proactively monitor the provision and efficiency of your net functions and APIs.

Query 2: How do I create a New Relic account?
Reply 2: To create a New Relic account, go to the New Relic web site and click on the “Signal Up” button. Enter your data and click on the “Create Account” button.

Query 3: How do I set up the New Relic Synthetics agent?
Reply 3: To put in the New Relic Synthetics agent, log in to New Relic and go to the Synthetics web page. Click on the “Obtain Agent” button and choose the suitable agent on your working system. Observe the directions within the New Relic documentation to put in the agent.

Query 4: How do I create a Synthetics monitor?
Reply 4: To create a Synthetics monitor, log in to New Relic and go to the Synthetics web page. Click on the “Create Monitor” button and choose the kind of monitor that you just wish to create. Configure the monitor settings and click on the “Save” button.

Query 5: How do I arrange alerts and notifications?
Reply 5: To arrange alerts and notifications, log in to New Relic and go to the Synthetics web page. Click on on the title of the monitor that you just wish to configure. Click on on the “Alerts & Notifications” tab and configure the alert and notification settings. Click on the “Save” button to save lots of your adjustments.

Query 6: How do I validate my monitor?
Reply 6: To validate your monitor, log in to New Relic and go to the Synthetics web page. Click on on the title of the monitor that you just wish to validate. Click on on the “Validate” button. The monitor will run a collection of checks to validate its configuration. If any errors are discovered, they are going to be displayed on the display screen.

Query 7: How do I monitor my outcomes?
Reply 7: To observe your outcomes, log in to New Relic and go to the Synthetics web page. Click on on the title of the monitor that you just wish to view. The monitor’s dashboard will show a wide range of data, together with the standing of the monitor, the variety of checks which were carried out, the variety of checks which have failed, the response time of the checks, and the waterfall chart of the checks.

These are only a few of essentially the most regularly requested questions on Synthetics monitoring in New Relic. For extra data, please seek the advice of the New Relic documentation or contact New Relic assist.

Along with the FAQ, listed below are just a few ideas for getting essentially the most out of Synthetics monitoring:

Ideas

Listed below are just a few ideas for getting essentially the most out of Synthetics monitoring in New Relic:

Tip 1: Use a wide range of monitor varieties.
Synthetics monitoring gives a wide range of monitor varieties, together with web site displays, API displays, and browser displays. Use a wide range of monitor varieties to get a complete view of the efficiency of your utility or API.

Tip 2: Configure your displays fastidiously.
Once you configure your Synthetics displays, take the time to fastidiously take into account the settings. This contains issues just like the frequency of the checks, the timeout, and the success standards. By configuring your displays fastidiously, you possibly can guarantee that you’re amassing the information that you just want and that you’re being notified in a well timed method if there’s a drawback.

Tip 3: Arrange alerts and notifications.
Probably the most vital issues you are able to do is to arrange alerts and notifications on your Synthetics displays. This may guarantee that you’re notified if there’s a drawback together with your utility or API. You may configure alerts and notifications to be despatched by way of e mail, SMS, or Slack.

Tip 4: Monitor your outcomes often.
After you have arrange your Synthetics displays, you will need to monitor the outcomes often. This may allow you to to establish any tendencies or patterns. You need to use the information out of your displays to enhance the efficiency and reliability of your utility or API.

By following the following tips, you will get essentially the most out of Synthetics monitoring and be sure that your utility or API is all the time accessible and acting at its greatest.

By following the steps and ideas outlined on this article, you possibly can simply arrange and use Synthetics monitoring in New Relic to proactively monitor the provision and efficiency of your net functions and APIs.

Conclusion

On this article, we now have lined the steps on find out how to get Synthetics monitoring to work in New Relic. We’ve got additionally supplied some ideas for getting essentially the most out of Synthetics monitoring.

By following the steps and ideas on this article, you possibly can simply arrange and use Synthetics monitoring to proactively monitor the provision and efficiency of your net functions and APIs. This may allow you to to establish and resolve points earlier than they impression your customers.

Synthetics monitoring is a priceless software for any group that depends on net functions and APIs. Through the use of Synthetics monitoring, you possibly can be sure that your functions and APIs are all the time accessible and acting at their greatest.

We encourage you to enroll in a free New Relic account and take a look at Synthetics monitoring for your self. You could be shocked at how a lot it could allow you to enhance the efficiency and reliability of your net functions and APIs.