Skip to content

feat: add New Relic Synthetics monitors and dashboard for docs site health#327

Open
shruti-kangokar wants to merge 2 commits intomainfrom
feature/newrelic-synthetics-monitors
Open

feat: add New Relic Synthetics monitors and dashboard for docs site health#327
shruti-kangokar wants to merge 2 commits intomainfrom
feature/newrelic-synthetics-monitors

Conversation

@shruti-kangokar
Copy link
Collaborator

@shruti-kangokar shruti-kangokar commented Mar 17, 2026

Adds OpenTofu configuration to create and manage New Relic Synthetics monitors that catch broken/404 pages on opensource.contentauthenticity.org — motivated by search results pointing to stale URLs (e.g. JS SDK Thumbnail API pages that no longer exist at their old paths).

Resources created:

  • SCRIPT_BROWSER monitor (homepage content + nav validation)
  • SCRIPT_API monitor (HTTP 200 check across 7 key doc pages)
  • Alert policy with warning (1 failure) + critical (5 failures) thresholds
  • Email notification channels and workflows (critical + warning)
  • Site health dashboard (success rate, failure table, 7-day trend)

Follows the cai/tf-modules naming convention (cai--) and mirrors the aggregation/threshold patterns used in cr-web/alerts.

Changes in this pull request

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • All applicable changes have been documented
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment

…ealth

Adds OpenTofu configuration to create and manage New Relic Synthetics
monitors that catch broken/404 pages on opensource.contentauthenticity.org
— motivated by search results pointing to stale URLs (e.g. JS SDK Thumbnail
API pages that no longer exist at their old paths).

Resources created:
- SCRIPT_BROWSER monitor (homepage content + nav validation)
- SCRIPT_API monitor (HTTP 200 check across 7 key doc pages)
- Alert policy with warning (1 failure) + critical (5 failures) thresholds
- Email notification channels and workflows (critical + warning)
- Site health dashboard (success rate, failure table, 7-day trend)

Follows the cai/tf-modules naming convention (cai-<service>-<env>) and
mirrors the aggregation/threshold patterns used in cr-web/alerts.
@netlify
Copy link

netlify bot commented Mar 17, 2026

Deploy Preview for cai-open-source ready!

Name Link
🔨 Latest commit 8ec0bd4
🔍 Latest deploy log https://app.netlify.com/projects/cai-open-source/deploys/69b9dd14c496960008638b83
😎 Deploy Preview https://deploy-preview-327--cai-open-source.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Mar 17, 2026

@github-actions github-actions bot temporarily deployed to pull request March 17, 2026 22:41 Inactive
@crandmck crandmck self-requested a review March 17, 2026 22:53
Copy link
Collaborator

@crandmck crandmck left a comment

Choose a reason for hiding this comment

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

I don't have the expertise to actually review this, but I'm approving so it can land.

The live title 'Open-source tools for content authenticity and provenance'
was not matching the previous allow-list (case-sensitive 'Open Source' missed
the hyphenated form). Adds 'content authenticity' and 'Open-source' as valid
title substrings to prevent false-alarm failures from some NR locations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants