{"id":9151,"date":"2017-05-11T12:00:55","date_gmt":"2017-05-11T12:00:55","guid":{"rendered":"http:\/\/abstracta.us\/?p=9151"},"modified":"2025-05-05T21:20:52","modified_gmt":"2025-05-05T21:20:52","slug":"alerts-new-relic-synthetics-check-website-health-different-parts-world","status":"publish","type":"post","link":"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/","title":{"rendered":"Alerts in New Relic Synthetics: Check Website Health From Different Parts of the World"},"content":{"rendered":"<p><!-- Go to www.addthis.com\/dashboard to customize your tools --><script src=\"\/\/s7.addthis.com\/js\/300\/addthis_widget.js#pubid=ra-58d80a50fc4f926d\" type=\"text\/javascript\"><\/script><\/p>\n<h1><span style=\"font-weight: 400; color: #333333;\">Use the tool, Synthetics, for easy website health monitoring<\/span><\/h1>\n<p><a href=\"https:\/\/newrelic.com\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">New Relic<\/span><\/a><span style=\"font-weight: 400;\"> is a company that offers many different tools, perhaps best known for its application performance monitoring (APM). At least that\u2019s what I know it best for since we often use this tool when we do <\/span><a href=\"https:\/\/abstracta.us\/solutions\/performance-engineering\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">performance tests<\/span><\/a><span style=\"font-weight: 400;\"> at Abstracta to get useful information about how our infrastructure behaves under tests. Besides the APM, it has another tool that I want to cover in this post, New Relic Synthetics, which you can use with a free or paid New Relic account. It\u2019s useful for adding monitors for services or websites (anything accessible by an http URL) and setting up email notifications for when said monitors fail.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Set_Up_Your_Monitor_in_New_Relic_Synthetics\"><\/span><strong><span style=\"color: #00b674;\">How to Set Up Your Monitor in New Relic Synthetics<\/span><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">After creating an account in New Relic, one has access to the different tools that it provides, in particular, we will look at how to get started with Synthetics. First, we must create a monitor, taking us to this page:<\/span><\/p>\n<p><a href=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/crear-monitor-ping-en-Synthetics-New-Relic-290x300-min.png\"><img decoding=\"async\" class=\" wp-image-9156 aligncenter\" src=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/crear-monitor-ping-en-Synthetics-New-Relic-290x300-min-290x300.png\" alt=\"crear-monitor-ping-en-Synthetics-New-Relic-290x300-min\" width=\"319\" height=\"330\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">There are several different types of monitors available. For example, there is one called ping, which tries to access the given URL and makes a validation of some text in the response. You can also implement an automated test that is a little more complex, but for that one, you\u2019ll need a paid account.<\/span><\/p>\n<p><a href=\"https:\/\/docs.newrelic.com\/docs\/synthetics\/new-relic-synthetics\/using-monitors\/alerting-synthetics\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Here<\/span><\/a><span style=\"font-weight: 400;\"> there is documentation from the New Relic site, but to create the monitor all you need to do is put a name, the URL for what you want to validate, and some text that you want to check that appears in the response page. You\u2019ll also have to enter your email to receive notifications, the places in the world from where you want it to access your URL and how often. In the following image you can see one of the monitors that I have created recently:<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/configuracio\u0301n-newrelic-synthetics-min.png\"><img decoding=\"async\" class=\"aligncenter wp-image-9159 \" src=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/configuracio\u0301n-newrelic-synthetics-min-300x275.png\" alt=\"monitor settings in new relic synthetics\" width=\"714\" height=\"655\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">So, with this setup, I have it so that it will try to access the URL (this very <\/span><a href=\"https:\/\/abstracta.us\/blog\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">blog<\/span><\/a><span style=\"font-weight: 400;\">) every 10 minutes, from 5 different places in the world, and if there is a failure, I&#8217;ll get a notification by email.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Benefits_of_New_Relic_Synthetics\"><\/span><strong><span style=\"color: #00b674;\">Benefits of\u00a0New Relic Synthetics<\/span><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Besides the email notifications, a<\/span><span style=\"font-weight: 400;\">ll results and response times are recorded, so I will be able to access historical information later (in the free version it is saved for a week), as shown in the following image:<\/span><\/p>\n<p><a href=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/stats-de-newrelic-synthetics-min.png\"><img decoding=\"async\" class=\" wp-image-9157 aligncenter\" src=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/stats-de-newrelic-synthetics-min-300x138.png\" alt=\"stats-de-newrelic-synthetics-min\" width=\"732\" height=\"337\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">In addition, I have historical information about the failures, can list the worst response times by location in the world, and I can do a little deeper analysis of how the network behaves in each case:<\/span><\/p>\n<p><a href=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/newrelic-synthetics-peores-tiempos-y-red-min.png\"><img decoding=\"async\" class=\" wp-image-9155 aligncenter\" src=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/newrelic-synthetics-peores-tiempos-y-red-min-300x147.png\" alt=\"network timings image\" width=\"798\" height=\"391\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">You can see the list of monitors and some relevant information from the home page of Synthetics:<\/span><\/p>\n<p><a href=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/lista-de-monitores-newrelic-synthetics-min.png\"><img decoding=\"async\" class=\" wp-image-9158 aligncenter\" src=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/lista-de-monitores-newrelic-synthetics-min-300x169.png\" alt=\"image of list of monitors in new relic synthetics\" width=\"755\" height=\"425\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">When there is a problem somewhere that is of interest to me, I know that I will find out about it 10 minutes after it occurs, max! In addition, I have historical information on response times from different parts of the world. <\/span><b>All this can be done for free, which is why I recommend anyone who is responsible for, or interested in the health of a particular service, to add these monitors and rest assured that you will find out when there is a problem.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">To show you even more of the reporting, here is another example of some crashes that the <\/span><a href=\"http:\/\/testinguy.org\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">TestingUy<\/span><\/a><span style=\"font-weight: 400;\"> site saw over the last week that New Relic notified me of. This is how Synthetics presented the information regarding that failure:<\/span><\/p>\n<p><a href=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/cai\u0301das-de-testinguy-Synthetics-New-Relic-min.png\"><img decoding=\"async\" class=\" wp-image-9160 aligncenter\" src=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/cai\u0301das-de-testinguy-Synthetics-New-Relic-min-300x115.png\" alt=\"cai\u0301das-de-testinguy-Synthetics-New-Relic-min\" width=\"824\" height=\"316\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">And the details about one of those crashes:<\/span><br \/>\n<a href=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/fallo-sitio-testinguy-Synthetics-New-Relic-min.png\"><img decoding=\"async\" class=\"wp-image-9161 aligncenter\" src=\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/fallo-sitio-testinguy-Synthetics-New-Relic-min-300x248.png\" alt=\"fallo-sitio-testinguy-Synthetics-New-Relic-min\" width=\"719\" height=\"594\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">At Abstracta we <\/span><span style=\"font-weight: 400;\">have a partnership with New Relic<\/span><span style=\"font-weight: 400;\">, so for any question about the tool you may have, we are at your service! <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Have you used it? How do you like it?<\/span><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Recommended_for_You\"><\/span><strong>Recommended for You<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"http:\/\/abstracta.us\/blog\/tools\/introduction-to-taurus-an-alternative-to-jmeter\/\">Introduction to Taurus: An Alternative to JMeter<\/a><br \/>\n<a href=\"http:\/\/abstracta.us\/blog\/performance-testing\/gatling-vs-jmeter-findings\/\">Gatling vs. JMeter: Our Findings<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use the tool, Synthetics, for easy website health monitoring New Relic is a company that offers many different tools, perhaps best known for its application performance monitoring (APM). At least that\u2019s what I know it best for since we often use this tool when we&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,61],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v14.0.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Alerts in New Relic Synthetics: Check Website Health From Around the World | Abstracta<\/title>\n<meta name=\"description\" content=\"Use Alerts in New Relic Synthetics to add monitors for services or websites and set up email notifications for when they fail.\" \/>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Alerts in New Relic Synthetics: Check Website Health From Around the World | Abstracta\" \/>\n<meta property=\"og:description\" content=\"Use Alerts in New Relic Synthetics to add monitors for services or websites and set up email notifications for when they fail.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog about AI-powered quality engineering for teams building complex software | Abstracta\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AbstractaQA\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-11T12:00:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-05T21:20:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/ALERTS-inNEW-RELIC-SYNTHETICS-2-min.png\" \/>\n\t<meta property=\"og:image:width\" content=\"560\" \/>\n\t<meta property=\"og:image:height\" content=\"315\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fltoledo\" \/>\n<meta name=\"twitter:site\" content=\"@AbstractaUS\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/abstracta.us\/blog\/#website\",\"url\":\"https:\/\/abstracta.us\/blog\/\",\"name\":\"Blog about AI-powered quality engineering for teams building complex software | Abstracta\",\"description\":\"AI-powered quality engineering\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/abstracta.us\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/abstracta.us\/wp-content\/uploads\/2017\/05\/crear-monitor-ping-en-Synthetics-New-Relic-290x300-min-290x300.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/#webpage\",\"url\":\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/\",\"name\":\"Alerts in New Relic Synthetics: Check Website Health From Around the World | Abstracta\",\"isPartOf\":{\"@id\":\"https:\/\/abstracta.us\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/#primaryimage\"},\"datePublished\":\"2017-05-11T12:00:55+00:00\",\"dateModified\":\"2025-05-05T21:20:52+00:00\",\"author\":{\"@id\":\"https:\/\/abstracta.us\/blog\/#\/schema\/person\/7421e539de0357d3adb0c69ed469a1c2\"},\"description\":\"Use Alerts in New Relic Synthetics to add monitors for services or websites and set up email notifications for when they fail.\",\"breadcrumb\":{\"@id\":\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abstracta.us\/blog\/\",\"url\":\"https:\/\/abstracta.us\/blog\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abstracta.us\/blog\/performance-testing\/\",\"url\":\"https:\/\/abstracta.us\/blog\/performance-testing\/\",\"name\":\"Performance Testing\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/\",\"url\":\"https:\/\/abstracta.us\/blog\/performance-testing\/alerts-new-relic-synthetics-check-website-health-different-parts-world\/\",\"name\":\"Alerts in New Relic Synthetics: Check Website Health From Different Parts of the World\"}}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/abstracta.us\/blog\/#\/schema\/person\/7421e539de0357d3adb0c69ed469a1c2\",\"name\":\"Federico Toledo, Chief Quality Officer at Abstracta\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/abstracta.us\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6de7ec6536c4028b5c02ad4ec1b9af0d?s=96&d=blank&r=g\",\"caption\":\"Federico Toledo, Chief Quality Officer at Abstracta\"},\"description\":\"Co-founder and COO of Abstracta\",\"sameAs\":[\"https:\/\/twitter.com\/fltoledo\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/posts\/9151"}],"collection":[{"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/comments?post=9151"}],"version-history":[{"count":16,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/posts\/9151\/revisions"}],"predecessor-version":[{"id":17512,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/posts\/9151\/revisions\/17512"}],"wp:attachment":[{"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/media?parent=9151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/categories?post=9151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/tags?post=9151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}