Integrations1 min read
Vercel Deployments Integration Guide
Monitor Vercel build and runtime deployment failures in OpsKnight with automatic recovery.
OpsKnight natively integrates with Vercel via Webhooks to monitor frontend build failures, runtime errors, and deployment health.
🎯 Key Capabilities
- Production vs Preview Isolation: Production errors create high-priority incidents (
critical); preview errors are scoped with unique deployment IDs to prevent clobbering other PRs. - Auto-Resolve on Deploy Success: When a failed production deployment is followed by a successful deployment, OpsKnight automatically resolves the incident.
- HMAC Signature Verification: Validates the
x-vercel-signatureSHA-1 HMAC against your configured webhook secret.
🚀 Setup Instructions
1. In OpsKnight
- Go to Services $\to$ select target service $\to$ Integrations tab.
- Click Add Integration $\to$ choose Vercel.
- Copy your Webhook URL and Integration Key.
https://your-opsknight.com/api/integrations/vercel?integrationId=YOUR_INTEGRATION_ID&integrationKey=YOUR_INTEGRATION_KEY
2. In Vercel
- In your Vercel Dashboard, go to your Team/Project Settings $\to$ Webhooks.
- Click Create Webhook.
- Endpoint URL: Paste your OpsKnight Webhook URL.
- Events: Select:
deployment.createddeployment.succeededdeployment.errordeployment.canceled
- (Optional) Set a Secret and save the same secret in OpsKnight as
signatureSecret. - Click Create.
🔍 Event Mapping
| Vercel Event | OpsKnight Action | Severity |
|---|---|---|
deployment.error |
trigger |
critical (Production) / error (Preview) |
deployment.succeeded |
resolve |
info |
deployment.canceled |
acknowledge |
warning |
deployment.created |
acknowledge |
info |
Last updated for v1.3
Edit this page on GitHub