Skip to content

New Relic Synthetics quota #8956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/content/drupal-cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ There are several workarounds. Most work by keeping the site awake, then using a

By having Pingdom visit the site once a minute like a visitor, the site stays active and the Cron module has an opportunity to act every minute (if it needs to). This combination is not officially supported by Pantheon, but has worked for some of our customers.

- A single-part solution is to [set up New Relic's Synthetics Ping Monitoring](https://docs.newrelic.com/docs/synthetics/new-relic-synthetics/using-monitors/add-edit-monitors) to hit Cron URLs. You may still want to use [Elysia Cron](https://www.drupal.org/project/elysia_cron) or [Ultimate Cron](https://www.drupal.org/project/ultimate_cron) to schedule different cron tasks at different frequencies though.
- A single-part solution is to [set up New Relic's Synthetics Ping Monitoring](/guides/new-relic/monitor-new-relic/#configure-ping-monitors-synthetics-for-availability) to hit Cron URLs. You may still want to use [Elysia Cron](https://www.drupal.org/project/elysia_cron) or [Ultimate Cron](https://www.drupal.org/project/ultimate_cron) to schedule different cron tasks at different frequencies though.

One advantage of this approach is that your site may already have a New Relic instance associated with it, saving you from having to setup another third-party service.

Expand Down Expand Up @@ -146,4 +146,4 @@ No. You can create a custom module that uses the [`hook_cron`](https://api.drupa

- [Drupal.org Community Documentation - Set up Cron](https://www.drupal.org/docs/7/setting-up-cron/overview)
- [Elysia Cron - extends Drupal standard Cron for Drupal](https://www.drupal.org/project/elysia_cron)
- [Ultimate Cron - extends Drupal standard Cron for Drupal](https://www.drupal.org/project/ultimate_cron)
- [Ultimate Cron - extends Drupal standard Cron for Drupal](https://www.drupal.org/project/ultimate_cron)
4 changes: 2 additions & 2 deletions source/content/guides/new-relic/02-activate-new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ Moving forward, to open New Relic® Performance Monitoring:

1. [Go to the Site Dashboard](/guides/account-mgmt/workspace-sites-teams/sites#site-dashboard) of the site you suspect is having problems with MySQL query performance.

1. Select the environment: Dev, Test, or Live.
2. Select the environment: Dev, Test, or Live.

1. Click the **New Relic** tab, and then select **Go to New Relic**.
3. Click the **New Relic** tab, and then select **Go to New Relic**.

## More Resources

Expand Down
14 changes: 11 additions & 3 deletions source/content/guides/new-relic/03-monitor-new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,19 @@ For more information on using New Relic®'s features, we encourage you to rev

- [Troubleshooting WordPress Performance with New Relic® Performance Monitoring](https://pantheon.io/blog/troubleshooting-wordpress-performance-new-relic)

## Configure Ping Monitors for Availability
## Configure Ping Monitors (Synthetics) for Availability

New Relic provides a free availability monitoring service within their Synthetics tool suite at the Lite service level. This basic monitoring feature sends a request to designated URLs from configured locations. Requests are sent at configured intervals and alerts are sent via email when a response fails.
New Relic provides an availability monitoring service within their Synthetics tool suite which can be enabled by [contacting support](/guides/support/contact-support/). This basic monitoring feature sends a request to designated URLs from configured locations. Requests are sent at configured intervals and alerts are sent via email when a response fails.

Pantheon can provide New Relic Ping monitoring for free as part of the service. However, more advanced monitoring, including full browser testing and scripted interactions, is only available to customers on an annual contract and requires an additional cost. Contact our [sales team](https://pantheon.io/contact-us) or your dedicated account manager for more information.
Pantheon provides unlimited New Relic Synthetics ping monitoring as part of the service. Still, there's a quota for all other monitor types (simple browser, scripted browser, and scripted API monitors). This quota is set at 10K Synthetics monthly checks for each Pantheon account, so it's crucial to manage it effectively.

<Alert title="Note" type="info">

When a Pantheon workspace has more than 10K Synthetics checks are running monthly Pantheon will adjust the frequency or number of locations a Synthetics check originates from the reduce the number of checks. This is required to allow Synthetic to continue to operate correctly under the overall New Relic quota for Pantheon.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tyherbert will our customers know that/when this reduction happens?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we plan to notify the customer via email if a change has been made to their Synthetics monitors.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So is the flow something like

  • Pantheon staff somehow sees that a workspace has exceed 10K
  • Pantheon staff manually adjust settings in New Relic
  • Pantheon staff manually emails customer?

Who from the workspace will get that email?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. This is something that Manoj and I will be working on. We are following the customer communication flow (https://docs.google.com/document/d/1Myagjy-2JhfnG7AqLs6clQ2YV0jxRvz_6nxQK898RQg/edit#heading=h.2licx9cbwmja). Currently we send an email to the site owner and cc the admins (this is a process that Shaq and Manoj put together).


</Alert>

More advanced monitoring, including full browser testing and scripted interactions, is only available to customers on an annual contract and requires an additional cost. Contact our [sales team](https://pantheon.io/contact-us) or your dedicated account manager for more information.

Follow the steps below to configure the monitor service.

Expand Down
4 changes: 4 additions & 0 deletions source/content/guides/new-relic/07-new-relic-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ Refer to [Log Files on Pantheon](/guides/logs-pantheon) for more information on

Pantheon provides New Relic Performance Monitoring for sites on [supported plans](/guides/new-relic#supported-site-plans). Certain components of New Relic fall outside this offering. Please [contact support](/guides/support/contact-support/) if you cannot access a New Relic feature that you should have access to.

### Can I get New Relic&reg; Synthetics?

Yes, for details see [Monitor and Improve Site Performance](/guides/new-relic/monitor-new-relic/#configure-ping-monitors-synthetics-for-availability).

## More Resources

- [MySQL Troubleshooting with New Relic&reg; Performance Monitoring](/guides/new-relic/debug-mysql-new-relic)
Expand Down